Open Jamsa opened 1 year ago
I also tried 45.6.0
, and got the same error.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
I am seeing the same thing. Please do not close this automatically.
We had the same issue. In our case the reason was that the Helm chart was first deployed with another release name, then the chart was uninstalled but it left some resources in the cluster and on deploying it with the changed release name, we saw the error. Removing the old resources (IIRC it was some services) fixed the problem.
happens to me also with 58.5.3
This solved my issues:
kubectl -n kube-system delete svc prometheus-kube-prometheus-kubelet
In our case the reason was that the Helm chart was first deployed with another release name, then the chart was uninstalled but it left some resources in the cluster
This was my case as well - some Service
-s in kube-system
were no cleaned up when uninstalling a release, and were affecting a new release with a different name. Manually deleting the two services with old release name from kube-system
solved it.
Describe the bug a clear and concise description of what the bug is.
Crash loopback on startup.
matching labels must be unique on one side
What's your helm version?
version.BuildInfo{Version:"v3.9.3", GitCommit:"414ff28d4029ae8c8b05d62aa06c7fe3dee2bc58", GitTreeState:"clean", GoVersion:"go1.17.13"}
What's your kubectl version?
Client Version: v1.24.3 Kustomize Version: v4.5.4 Server Version: v1.21.5
Which chart?
kube-prometheus-stack
What's the chart version?
42.3.0
What happened?
What you expected to happen?
No response
How to reproduce it?
No response
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
helm install kube-prometheus --namespace monitoring kube-prometheus-stack -f values.yaml
Anything else we need to know?
I checked this issue and tried to delete the svc in the kube-system namespace. But it's not working, and after deleting the svc, it was created again. https://github.com/prometheus-community/helm-charts/issues/635#issuecomment-774771566