我正在使用helm v3.2.1安装promethus-operator,如下所示:
./helm install stable/prometheus-operator --generate-name -n dabai-pro现在,我想要将组件prometheus-operator从dabai-pro名称空间移动到monitoring名称空间,并想删除此安装,我阅读了文档并执行了以下操作:
[miao@MeowK8SMaster1 linux-amd64]$ ./helm uninstall stable/prometheus-operator -n dabai-pro
Error: uninstall: Release name is invalid: stable/prometheus-operator就像这样:
[miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm uninstall prometheus-operator -n dabai-pro
Error: uninstall: Release not loaded: prometheus-operator: release: not found那么我应该怎么做才能删除它呢?
[miao@MeowK8SMaster1 linux-amd64]$ ./helm list -n dabai-pro
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
prometheus-1591246262 dabai-pro 1 2020-06-04 12:51:03.763613003 +0800 CST deployed prometheus-11.3.0 2.18.1
redis-ha-1591192248 dabai-pro 1 2020-06-03 21:50:50.316917158 +0800 CST deployed redis-ha-4.4.4 5.0.6
[miao@MeowK8SMaster1 linux-amd64]$ ./helm uninstall prometheus-1591246262
Error: uninstall: Release not loaded: prometheus-1591246262: release: not found
[miao@MeowK8SMaster1 linux-amd64]$ ./helm uninstall prometheus-11.3.0
Error: uninstall: Release not loaded: prometheus-11.3.0: release: not found发布于 2020-06-04 13:26:28
使用下面的命令查看版本名称和命名空间名称
helm list 并通过以下方式卸载发行版:
helm uninstall releasename -n namespacename在您的情况下,它将是
./helm uninstall prometheus-1591246262 -n dabai-prohttps://stackoverflow.com/questions/62187305
复制相似问题