Can someone help me in writing a promql query to get the node status whether node is schedulable or not. Thanks in advance.
The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.
If you use prometheus-operator, kube-state-metrics
return kube_node_status_condition
metric:
sum(kube_node_status_condition{condition="Ready",status!="true"})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With