Problem: For some reason, helm release of kube-prometheus-stack
is stuck in Pending-install
status. What is the correct to install a helm release for this using helm cli
?
Details:
Due to Docker registry k8s.gcr.io
getting frozen, I had to update the Docker image registry to registry.k8s.io
for kube-state-metrics
by updating the values.yaml
as follows:
kube-state-metrics:
prometheusScrape: true
image:
repository: registry.k8s.io/kube-state-metrics/kube-state-metrics
tag: v1.9.8
pullPolicy: Always
namespaceOverride: ""
rbac:
create: true
podSecurityPolicy:
enabled: true
After that, when I tried update the helm release for kube-prometheus-stack
using same version of 14.9.0
, it failed with status Failed
for helm release. Upon retrying, it deleted the previous helm release and created a new one. All the components by the new one created successfully but the helm release got stuck in the Pending-install
status.
I waited for almost 30 minutes but no success. I also tried deleting helm release, rollbacking helm release, deleting helm release secret but got no success.
What could be the issue? How can I solve it?