Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes Namespace Resources is broken #44

Open
puffitos opened this issue Oct 17, 2024 · 0 comments
Open

Kubernetes Namespace Resources is broken #44

puffitos opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@puffitos
Copy link
Member

puffitos commented Oct 17, 2024

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.

@puffitos puffitos added the bug Something isn't working label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant