Kubernetes cluster utilisation dashboard

Hi All,

I want to build a dashboard for kubernetes, particularly it should show cluster level resource utilisations like 
CPU: 
1.one tile with total physical CPU cores assigned to a k8s cluster, if possible split by worker nodes.
2.one tile with physical CPU cores used out of total cores assigned to cluster.
3.one tile with % of physical CPU cores assigned as request , split by pods/containers/namespaces.
4:one tile with % of physical CPU cores assigned as limit, split by pods/containers/namespaces.

Memory:
1.one tile with total Memory assigned to a k8s cluster,  if possible split by worker nodes.
2.one tile with Memory used out of total memory assigned to cluster.
3.one tile with % of Memory assigned as request , split by pods/containers/namespaces.
4:one tile with % of memory assigned as limit, split by pods/containers/namespaces.

Please guide.
Thanks,
Guru Gogi

I was referring to this dashboard it has deprecated metrics like

builtin:cloud.kubernetes.cluster.cores:avg:splitBy():sum:auto:sort(value(sum,descending)):limit(20)

builtin:cloud.kubernetes.cluster.cpuAvailable:avg:splitBy():sum:auto:sort(value(sum,descending)):limit(20)

builtin:cloud.kubernetes.cluster.memory:avg:splitBy():sum:auto:sort(value(sum,descending)):limit(20)

builtin:cloud.kubernetes.cluster.memoryAvailable:avg:splitBy():sum:auto:sort(value(sum,descending)):limit(20)

Hi @gurugogi

Have you checked the new kubenetes app, it pretty much has all info you are after , you can pick the metrics from there and build a dashboard as per your preference

Hi @gurugogi

Simply Go to Data Explorer > and select the metric as per monitoring requirements and apply the required filters and split by and the monitoring insights will be available for you to be pinned to dashboard.

Feel free to review the attached example and customize it as per intended requirements.

If you need to use advanced and specify your query input, you can do it as well

Regards,

Peter.

Hello @gurugogi

You can use an alternative solution, and it will fit as well.

  • Go to Metrics and filter by the required metrics as per example below > create a chart > use split and filter by to get the target result.

Regards,

Peter.

It was helpful, thanks.

Thanks Peter, I have used such metics in my dashboard, just I was thinking from overall cluster point of view.
like total CPU cores Vs assigned cores, like total memory Vs assigned memory.