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
Error: rendered manifests contain a resource that already exists.

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

[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

Error: rendered manifests contain a resource that already exists.

上一篇:BZOJ 1086: [SCOI2005]王室联邦


下一篇:1086: ASCII码排序(多实例测试)