Can someone help me in writing a promql query to get the node status whether node is schedulable or not. Thanks in advance.
If you use prometheus-operator, kube-state-metrics
return kube_node_status_condition
metric:
sum(kube_node_status_condition{condition="Ready",status!="true"})