25 Jul 2024 09:56 AM - last edited on 29 Jul 2024 07:16 AM by MaciejNeumann
Hi, there
Is there a way either via API or DQL to generate list of kubernetes nodes, kubelet version and kubernetes clusters in Dynatrace?
Regards,
Srikanth
Solved! Go to Solution.
25 Jul 2024 10:05 AM
FYI.. I can get kubernetes cluster and node details using Data explorer via builtin:kubernetes.node.conditions
25 Jul 2024 10:49 AM
I can get this using DQL , something like below...
fetch dt.entity.kubernetes_node
| fieldsAdd kubeletVersion, kubernetesLabels, kubernetesNodeStates, kubernetesProviderType
29 Jul 2024 10:30 AM
I can recommend starting in the Kubernets app for such use cases. E.g., go to the node list in the app (1), select the meta-data perspective (2), customize the columns you need (3), and finally click on the 3dots (4) to open the underlying DQL in a notebook (open with).
29 Jul 2024 11:35 AM
Thank you @florian_g . I don't have access to this new feature in Kubernetes yet in our env. However, trying this out in playground looks pretty straightforward.