其他分享
首页 > 其他分享> > Error: rendered manifests contain a resource that already exists.

Error: rendered manifests contain a resource that already exists.

作者:互联网

Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: kind: Service, namespace: default, name: nginx
ui-error
在这里插入图片描述

这只是一个简单的错误:名字重复起了冲突,这是因为之前已创建过相同的名字,可以删除之前的或重起一个名字即可。

[root@k8s-master ~]# kubectl delete deploy web
deployment.apps "web" deleted
[root@k8s-master ~]# kubectl delete -f mychar/templates/
service "nginx" deleted
deployment.apps "nginx" deleted
[root@k8s-master ~]# helm install web mychar/
NAME: web
LAST DEPLOYED: Fri Dec  3 17:08:39 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
[root@k8s-master ~]# 
ui-error2

在这里插入图片描述

标签:web,already,resource,exists,deleted,nginx,master,k8s,root
来源: https://blog.csdn.net/weixin_46329906/article/details/121791371