我已經設置了包含以下節點的HA Kubernetes集羣。爲HA Kubernetes集羣設置Tiller的問題
1個Nginx的負載均衡 2 Kubernetes大師 2工作站節點 1開發節點(控股kubectl,掌舵公用事業) 我有,我有kubectl建立一個開發節點,我能夠發射吊艙。
我已經在我的dev節點上安裝了helm客戶端。
當使用helm init設置分櫱時,我不會在devnode上得到任何錯誤,但在選定的主節點上,我會得到下面的錯誤。 kubectl的配置,helm指向Nginx LB.
deployment_controller.go:303] Operation cannot be fulfilled on deployments.extensions "tiller-deploy": the object has been modified; please apply your changes to the latest version and try again
deployment_controller.go:303] Operation cannot be fulfilled on replicasets "tiller-deploy-687742799": StorageError: invalid object, Code: 4, Key: /registry/replicasets/kube-system/tiller-deploy-687742799, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 0xc422b04010, UID in object meta:
而且我得到偶發錯誤一些像下面 pkg/controller/garbagecollector/garbagecollector.go:768: watch of <nil> ended with: very short watch pkg/controller/petset/pet_set.go:148: watch of *apps.StatefulSet ended with: very short watch
pkg/controller/resourcequota/resource_quota_controller.go:232: watch of *api.ReplicationController ended with: very short watch
我Kubernetes集羣細節
kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"269f928217957e7126dc87e6adfa82242bfe5b1e", GitTreeState:"clean", BuildDate:"2017-07-03T15:31:10Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"269f928217957e7126dc87e6adfa82242bfe5b1e", GitTreeState:"clean", BuildDate:"2017-07-03T15:31:10Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
helm version
Client: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"} Error: cannot connect to Tiller
讓我知道,如果需要別的。
請在這裏建議。