HELM部署异常:Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
HELM部署异常:Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress异常造成原因在jenkins使用helm部署到k8s集群时,强行停止jenkins任务,第二次重新触发部署时,会造成改异常:Error: UPGRADE FAILED: another operation (insta
·
HELM部署异常:Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
异常造成原因
在jenkins使用helm部署到k8s集群时,强行停止jenkins任务,第二次重新触发部署时,会造成改异常:Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
解决方式
登陆到k8s机器中执行:
helm list -n [namespace]
其中[namespace]处输入对应的命名空间,会显示出当前命名空间下所有的server。helm history -n [namespace] [name]
其中[name]为步骤1获取的name,显示所有的部署版本helm uninstall-n [namespace] [name]
删除该server重新部署即可
更多推荐
已为社区贡献1条内容
所有评论(0)