美文网首页
helm执行报错:cannot re-use a name th

helm执行报错:cannot re-use a name th

作者: 沉思的雨季 | 来源:发表于2022-11-16 18:07 被阅读0次

1、问题现象

通过helm install安装服务失败,修改chart后重新安装,提示error: cannot re-use a name that is still in use,执行helm uninstall提示Error: uninstall: Release not loaded。

2、问题原因

helm install失败后,服务处于fail或者pending状态,使用helm -n {{namespace}} ls 无法找到名称重复服务,因此,无法重新安装,也无法卸载。

3、解决办法

a、使用helm -n <namespace> ls -a 查询全部,可以看到失败的服务;
b、使用helm -n <namespace> delete <packagename> 删除失败的安装;
c、使用helm install重新安装服务。

相关文章

网友评论

      本文标题:helm执行报错:cannot re-use a name th

      本文链接:https://www.haomeiwen.com/subject/xjzyxdtx.html