Error: rendered manifests contain a resource that already exists. Unable to continue with install
We get this error while installing ISTIO and Installation did not continue.
[root@k8smaster istio-1.4.3]# helm install istio-init install/kubernetes/helm/istio-init --namespace istio-system
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: namespace: , name: istio-init-istio-system, existing_kind: rbac.authorization.k8s.io/v1, Kind=ClusterRole, new_kind: rbac.authorization.k8s.io/v1, Kind=ClusterRole
[root@k8smaster istio-1.4.3]#
We need to find out the resource that is conflicting. Then delete that resource. In our case it was a ClusterRole resource. So we checked that and deleted that to continue our installation.
Error:
[root@k8smaster istio-1.4.3]# helm install istio-init install/kubernetes/helm/istio-init --namespace istio-system
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: namespace: , name: istio-init-istio-system, existing_kind: rbac.authorization.k8s.io/v1, Kind=ClusterRole, new_kind: rbac.authorization.k8s.io/v1, Kind=ClusterRole
[root@k8smaster istio-1.4.3]#
Solution:
We need to find out the resource that is conflicting. Then delete that resource. In our case it was a ClusterRole resource. So we checked that and deleted that to continue our installation.
[root@k8smaster istio-1.4.3]# kubectl get ClusterRole | grep -i istio-init-istio-system
istio-init-istio-system 43m
[root@k8smaster istio-1.4.3]# kubectl delete ClusterRole istio-init-istio-system
clusterrole.rbac.authorization.k8s.io "istio-init-istio-system" deleted
[root@k8smaster istio-1.4.3]#
istio-init-istio-system 43m
[root@k8smaster istio-1.4.3]# kubectl delete ClusterRole istio-init-istio-system
clusterrole.rbac.authorization.k8s.io "istio-init-istio-system" deleted
[root@k8smaster istio-1.4.3]#
0 Response to "Error: rendered manifests contain a resource that already exists. Unable to continue with install"
Post a Comment