k8s 上简单实现deviceplugin demo

This commit is contained in:
linxin
2023-03-10 17:38:36 +08:00
parent 8f7b98cbac
commit 2b3fde6db8
6 changed files with 747 additions and 0 deletions

20
go.mod Normal file
View File

@@ -0,0 +1,20 @@
module deviceplugindemo
go 1.20
require (
github.com/fsnotify/fsnotify v1.6.0
github.com/sirupsen/logrus v1.9.0
golang.org/x/net v0.8.0
google.golang.org/grpc v1.53.0
k8s.io/kubelet v0.26.2
)
require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
google.golang.org/protobuf v1.28.1 // indirect
)