Skip to content

[VPA] Prometheus labels for cadvisor have changed #3439

Closed
@estahn

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:]

Metadata

Assignees

No one assigned

    Labels

    area/vertical-pod-autoscalerarea/vertical-pod-autoscaler/prometheusIssues and PRs related to Vertical Pod Autoscaler history from Prometheushelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions