Promql K8S get pod counts on namespaces with specific annotation

Viewed 10

Looking for a Prometheus query for this situation:

namespace A: has annotation ZZZ
namespace B: has annotation YYY
namespace C: has annotation ZZZ

how to query pods count for all namespaces with annotation ZZZ ?

0 Answers
Related