Azure-docs: helm install install/kubernetes/helm/istio fails - customresourcedefinitions.apiextensions.k8s.io "reportnothings.config.istio.io" already exists

Created on 28 Dec 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

Error: release istio failed: customresourcedefinitions.apiextensions.k8s.io "reportnothings.config.istio.io" already exists

This is on a brand new kube cluster running in australiaeast. I had the same problem following instructions to install cert-manager. I had to do this to get around it

helm install --name cert-manager stable/cert-manager --namespace kube-system --set ingressShim.defaultIssuerName=letsencrypt-prod --set ingressShim.defaultIssuerKind=ClusterIssuer --set createCustomResource=false

helm upgrade --install --namespace kube-system  cert-manager stable/cert-manager --set createCustomResource=true

It seems the version of kube your running errors out, because it creates the customresourcedefinition too soon, and then errors out complaining that it already exists. pretty poor microsoft. I dont have this prob on GKE or AWS, or anywhere else for that matter.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

container-servicsvc cxp in-progress triaged

Most helpful comment

@nigel-dewar Please let me know the version of helm you are using.
There is a known issue with helm version 2.12.0. Its creating crd's twice.
Refer to this pull request.
Solution is to move to the patch release(2.12.1). When you are migrating from previous versions to 2.12.1, Please checkout the comments in that pull request.

All 4 comments

@nigel-dewar Please let me know the version of helm you are using.
There is a known issue with helm version 2.12.0. Its creating crd's twice.
Refer to this pull request.
Solution is to move to the patch release(2.12.1). When you are migrating from previous versions to 2.12.1, Please checkout the comments in that pull request.

@nigel-dewar you can also downgrade to 2.11.0 to avoid this issue.

20820 Check this issue for more details.

thank you jakaruna, it was the helm version, I changed to v 2.11 and issue is solved. thank you!

@nigel-dewar Good to know that your issue is resolved.
I will close this out for now. If you need additional help please let me know and we can reopen and continue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

Ponant picture Ponant  Â·  3Comments