Open youwalther65 opened 1 year ago
@youwalther65 looks like you are using kube-state-metrics with version >=2.9.0
.
Please look at the deprecation notice: https://github.com/kubernetes/kube-state-metrics/blob/v2.8.2/docs/verticalpodautoscaler-metrics.md#deprecation-notice
@youwalther65 Can you confirm the issue is resolved, so we can close this issue?
Describe the bug a clear and concise description of what the bug is.
I have installed the following kube-state-metrics version
kube.state-metrics "CrashLoopBackOff" with log message:
It complains with err="failed to set up resources: resource verticalpodautoscalers does not exist but the CRD is installed by VPA Helm:
VPA Helm chart is:
What's your helm version?
v3.10.1
What's your kubectl version?
v1.27
Which chart?
kube-prometheus-stack
What's the chart version?
48.1.1/v0.66.0
What happened?
KSM pod in CrashLoopBackOff
What you expected to happen?
KSM pod to get into running state
How to reproduce it?
Run helm install with the below non-standard values.yaml
Enter the changed values of values.yaml?
I enable VPA in Helm values.yaml with:
and it has worked for quire a while
Enter the command that you execute and failing/misfunctioning.
$ helm install kube-prometheus-stack --namespace prometheus prometheus-community/kube-prometheus-stack -f values.yaml
Anything else we need to know?
N/A