File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ local utils = import '../lib/utils.libsonnet';
61
61
// We have to ignore this special node in the KubeletTooManyPods alert.
62
62
expr: |||
63
63
(
64
- max by (cluster , instance) (
64
+ max by (%(clusterLabel)s , instance) (
65
65
kubelet_running_pods{%(kubeletSelector)s} > 1
66
66
)
67
- * on (cluster , instance) group_left(node)
68
- max by (cluster , instance, node) (
67
+ * on (%(clusterLabel)s , instance) group_left(node)
68
+ max by (%(clusterLabel)s , instance, node) (
69
69
kubelet_node_name{%(kubeletSelector)s}
70
70
)
71
71
)
72
- / on (cluster , node) group_left()
72
+ / on (%(clusterLabel)s , node) group_left()
73
73
max by (%(clusterLabel)s, node) (
74
74
kube_node_status_capacity{%(kubeStateMetricsSelector)s, resource="pods"} != 1
75
75
) > 0.95
You can’t perform that action at this time.
0 commit comments