-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crd-install hook possible race condition #4925
Comments
Do you have the logs from Tiller when this happens? I'm unable to reproduce this on my gke cluster. Also, are you able to reproduce it multiple times in the same cluster if you delete all the CRDs belonging to the chart before trying again? |
Yes, absolutely.
I don't have tiller logs right this second but I'll try to get them for you. |
tried to install prometheus with helm.
custom-values.yaml
kubectl: v1.12.2 |
While installing the
stable/prometheus-operator
chart, which creates 4 CRDs using thecrd-install
hooks, it is possible for the CRDs to be created but the validation fail anyway withAfter seeing this error, repeatedly hitting
kubectl get crd | grep coreos
will show that at first there are <4 CRDs but eventually all 4 are created.This behaviour is absolutely consistent on a specific cluster
There are multiple reports of this happening with this chart but in most cases there are no issues, including the helm/charts CI process.
Issue on helm/charts: helm/charts#9241
Can be broken
Confirmed:
Reported:
helm: 2.10, 2.11
kubectl: 1.11.2, 1.11.3, 1.11.4
Can work
Confirmed:
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
The text was updated successfully, but these errors were encountered: