Query Container Memory & CPU Requests

Hi,

DT can get memory and cpu usage of a container running in a kubernetes cluster.  But, Is there a way to query CPU and Memory “Requests” set by the developer on the deployment when it was deployed?

Thank you

Hi @Avles

Unfortunately, I do not associate this possibility. It is probably not possible, but I could be wrong.
If it is essential then I would recommend setting up a Product Idea.

Radek

Hi @Avles,

Could you please check this API? Maybe the pod level would be fine for you. Evironment API V2.

Result:

I hope it helps.

Best regards,

Mizső

Thank you for your reply, Mizső and Radek.

My need is to identify and fix containers that are requesting more memory and CPU than actually required. Therefore, I would need data at the container level to take action. Considering that DT can show this data at the Pod level, it seems that it has the data at the container level as well. Perhaps this could be considered as a feature request.

Thanks

I  see there is already a feature request on the same lines for another use case, https://community.dynatrace.com/t5/Product-ideas/k8s-pod-container-usage-of-requested-resources/idi-p/139574