分iller每30秒超时,无法继续安装

时间:2019-06-23 18:11:52

标签: kubernetes google-kubernetes-engine kubernetes-helm

我们最近观察到此问题,因为舵机每30秒超时一次,舵初始化/升级/安装命令出现以下错误。虽然其他命令(例如helm init和helm list)可以正常工作。我什至尝试删除--wait选项,但这似乎不是问题所在:

我尝试重新启动节点,将GKE版本升级到最新版本,重新启动分pod荚,并增加timeout选项中的时间,同时尝试不带timeout选项的命令。

[tiller] 2019/06/23 15:18:57 warning: Upgrade "xx" failed: 
Failed to recreate resource: Timeout: 
request did not complete within requested timeout 30s 
&& Failed to recreate resource: Timeout: 
request did not complete within requested timeout 30s

头盔版本的输出:

Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}

kubectl版本的输出:

Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-07T23:17:28Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.6-gke.13", GitCommit:"fcbc1d20b6bca1936c0317743055ac75aef608ce", GitTreeState:"clean", BuildDate:"2019-06-19T20:50:07Z", GoVersion:"go1.11.5b4", Compiler:"gc", Platform:"linux/amd64"}

云提供商/平台(AKS,GKE,Minikube等):

GKE

2 个答案:

答案 0 :(得分:1)

此超时的问题恰好是群集中以下应用程序配置的Webhook。 Google支持团队确认此Webhook通过检查api服务器日志来限制部署。从群集中删除Webhook之后,部署便完成了。

https://github.com/reactiveops/polaris

答案 1 :(得分:0)

头盔升级可能会解决问题 请运行以下命令  helm init --upgrade