K8S SDK Setup

安装Golang Dep

go get -v github.com/tools/godep

安装client-go

go get k8s.io/client-go/kubernetes
cd $GOPATH/src/k8s.io/client-go
git checkout v10.0.0
godep restore ./...

集群外开发

集群内开发

Related

comments powered by Disqus