# Creating a dashboard with a formula "percentage of Kubernetes pod usage (requests/limits)"

**URL:** <https://community.dynatrace.com/t/creating-a-dashboard-with-a-formula-percentage-of-kubernetes-pod-usage-requests-limits/38546>\
**Category:** Dashboarding\
**Tags:** request-attributes, dashboards-classic, kubernetes\
**Created:** [February 22, 2023, 5:13pm UTC](https://community.dynatrace.com/t/creating-a-dashboard-with-a-formula-percentage-of-kubernetes-pod-usage-requests-limits/38546 "2023-02-22T17:13:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![shakib](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@shakib](https://community.dynatrace.com/u/shakib)\
**Post date:** [February 22, 2023, 5:18pm UTC](https://community.dynatrace.com/t/creating-a-dashboard-with-a-formula-percentage-of-kubernetes-pod-usage-requests-limits/38546/2 "2023-02-22T17:18:44Z")

</div>

So in this example below I see a % of the CPU requested from the allocated on a Node. I want this same data at the pod level, which is what I am trying to find out in my formula above.

(  
builtin:kubernetes.node.requests\_cpu:last:splitBy(“dt.entity.kubernetes\_node”,“dt.entity.kubernetes\_cluster”):sum  
/ builtin:kubernetes.node.cpu\_allocatable:last:splitBy(“dt.entity.kubernetes\_node”,“dt.entity.kubernetes\_cluster”):sum  
\* 100  
):setUnit(Percent):sort(value(sum,descending))

---

_[View the full topic](https://community.dynatrace.com/t/creating-a-dashboard-with-a-formula-percentage-of-kubernetes-pod-usage-requests-limits/38546)._
