[VPA] Prometheus labels for cadvisor have changed #3439
Closed
Description
The labels for cadvisor have changed (see kubernetes/kubernetes#69099). I'm starting the VPA as follows:
- --v=4
- --stderrthreshold=info
- --storage=prometheus
- --prometheus-address=http://prometheus-operator-prometheus.devops.svc:9090
- --prometheus-cadvisor-job-name=kubelet
- --pod-namespace-label=namespace
- --pod-name-label=pod
- --pod-label-prefix=""
- --container-name-label=name
- --container-namespace-label=namespace
- --container-pod-name-label=pod
- --history-length=1d
- --memory-saver
The query that is being executed is:
rate(container_cpu_usage_seconds_total{job="kubelet", pod=~".+", name!="POD", name!=""}[5m])[1d:]