Added cpu/memory requested panels for capacity management dashboard #2845
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added cpu/memory requested panels for capacity management dashboard
Warning
This is a public repository, ensure not to disclose:
What kind of PR is this?
Required: Mark one of the following that is applicable:
Optional: Mark one or more of the following that are applicable:
Important
Breaking changes should be marked
kind/admin-changeorkind/dev-changedepending on typeCritical security fixes should be marked with
kind/securityWhat does this PR do / why do we need this PR?
This PR adds new panels for the rows CPU/Memory usage in the capacity management dashboard. The panels are as follows; requested CPU/Memory per node, average requested CPU/Memory per node group, CPU/Memory limits per node and average CPU/Memory limits per node group. This is so you can easily compare usage, requests and limits in one place as per stated in the issue that this would solve. Below there are two example images of how this looks like on the Grafana capacity management dashboard.
New CPU dashboards

New Memory dashboards

Information to reviewers
The Promql queries for these dashboards looks like the following, if you feel that you would want to give feedback or to test them. I'm only putting the cpu queries here since the memory panels look basically the same except that "resource" is instead set to memory in the queries.
CPU requested
Average CPU requested
CPU limits
Average CPU limits
Checklist