当前位置:   article > 正文

在使用helm安装nginx时出现cannot re-use a name that is still in use

cannot re-use a name that is still in use

在helm中安装nginx,前面试了很多次由于仓库失效等各种原因都没有安装成功,但是这个名字(testnginx)可能是已经存在了,所以出现下面的错误时换个名字即可。

  1. [root@k8smaster bin]# helm install testnginx apphub/nginx
  2. Error: INSTALLATION FAILED: cannot re-use a name that is still in use

换名后即可安装成功: 

也可以通过helm list来查看,发现之前确实已经安装过testnginx这个应用,但是失败了,虽然失败了,后面再创建时名字也是不可重复使用的:

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/339754
推荐阅读
相关标签
  

闽ICP备14008679号