Skip to content

Kubernetes Namespace Resources is broken #44

@puffitos

Description

@puffitos

Description

image

The dashboard is broken, as it's using old prometheus metrics, which don't exist anymore.

Further details

The dashboard is a copy from this repository https://github.com/yuripastushenko/k8s-resource-quota-dashboards.

One of the used queries showcases the problem:

sum (rate(container_cpu_usage_seconds_total{namespace="$namespace"}[1m])) / sum(kube_resourcequota{resource="limits.cpu",type="hard",namespace="$namespace"}) * 100

The kube_resourcequota doesn't per default have the label resource="limits.cpu". Maybe it can be exposed via kube metrics somehow/ some other metric can be used.

Proposal

Use a new dashboard that has the same information/ fix the current one and contribute upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions