Skip to content

fix(k8s): restore kubernetes cpu metrics and align monitoring dashboards to homelab-k3s #737

Closed

Description

@dan-petty

Summary

Kubernetes views dashboards in Grafana displayed 'No Data' for total cluster CPU capacity, utilization, and requests/limits ratios. Additionally, monitoring metrics and dashboards were configured with 'devops-cluster' instead of the active cluster 'homelab-k3s'.

Root Causes & Remediation

  1. Included cAdvisor 'machine_cpu_cores' and missing KSM/node-exporter metrics in Alloy k8s-monitoring values.
  2. Disabled redundant direct node/cAdvisor scraping in Prometheus server values to prevent label stripping and collisions.
  3. Switched cluster naming from 'devops-cluster' to 'homelab-k3s' across Alloy values, Prometheus scrape post-relabel configs, and Grafana dashboard variables.
  4. Partitioned Kubernetes views dashboards into ConfigMaps to respect the 256KB annotation ceiling.
  5. Permitted Grafana template variables in PromQL duration and subquery selectors.
  6. Reconciled LiteLLM Gateway model routes with GPU matrix definitions.

Activity

  1. added this to the v0.2.24 milestone on Sep 30, 2026
  2. added
    type/bug
    scope/k8s
    priority/p1-high
    on Sep 30, 2026
  3. modified the milestones: v0.2.24, v0.2.25 on Sep 30, 2026
  4. dan-petty commented on Sep 30, 2026

    @dan-petty
    OwnerAuthor

    Closed by #738, merged into release/v0.2.24.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  5. added a commit that references this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/k8stype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions