Hello Folks,
How do we get pending pods by pod name.
I’m trying to configure the metric events. Goal is to get pod who’s status is in pending state and filter by namespaces.
Below is the query I’m using however, I don’t get any result,
builtin:kubernetes.pods:filter(and(or(in("dt.entity.cloud_application_namespace",entitySelector("type(cloud_application_namespace),entityName.equals(~"namespace~")"))),or(eq(pod_phase,Pending)))):splitBy("k8.pod.name"):sort(value(auto,descending))
Metric used is Kubernetes: Pod count (by workload)
Regards,
AK
