Pods Ownership method

Dear All,

Is it possible to implement Pods Ownership through the API?

I am familiar with the best practices involving Kubernetes labels and annotations.

Regards,

Babar Qayyum

Hi @Babar_Qayyum

For Pods specifically, ownership is applied through Kubernetes labels or annotations.  which you are already familiar with it. There’s no direct Dynatrace API to assign ownership to Pods.

However, I think you can still automate this via: Kubernetes API to programmatically apply dt.owner labels to your pods/deployments or CI/CD pipelines to inject the label at deployment time.

Thanks,

Sujit

Hello @sujit_k_singh

Thank you for your comments.

Regards,

Babar Qayyum