简体   繁体   English

如何处理“Helm Upgrade Timeout”错误?

[英]How to handle " Helm Upgrade Timeout" error?

I am trying to do a helm upgrade and I am getting the following error: Error: UPGRADE FAILED: timed out waiting for the condition .我正在尝试进行 helm 升级,但出现以下错误: Error: UPGRADE FAILED: timed out waiting for the condition The command ran is thus: helm upgrade releaseoup --wait. -n releaseoup因此运行的命令是: helm upgrade releaseoup --wait. -n releaseoup helm upgrade releaseoup --wait. -n releaseoup . helm upgrade releaseoup --wait. -n releaseoup

I have no idea what could be the problem because kubectl interacts with the cluster comfortably helm upgrade timeout is very strange.我不知道可能是什么问题,因为kubectl与集群舒适地交互helm upgrade超时非常奇怪。 By the way, this is not a first deployment so it once worked with same commands, I just need to do an upgrade to a new version.顺便说一句,这不是第一次部署,所以它曾经使用相同的命令工作,我只需要升级到新版本。

Can anybody help please?有人可以帮忙吗?

The doc says helm upgrade has a default timeout 5m .文档helm upgrade有默认超时5m It is very common that you may need set a longer timeout.您可能需要设置更长的超时时间是很常见的。

example例子

helm upgrade --wait --timeout=1h

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM