Think before you speak, read before you think.

prometheus 一些监控项

k8s 每个 node 如果大于 cpu 核数

node_load15  > (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"}) * 0.8)

查看一个 namespace 有多少个 pod

kube_pod_info{namespace="app"}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *