You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: alerts/resource_alerts.libsonnet
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@
33
33
severity:'warning',
34
34
},
35
35
annotations: {
36
-
description:'Cluster {{ $labels.cluster }} has overcommitted CPU resource requests for Pods by {{ $value }} CPU shares and cannot tolerate node failure.',
36
+
description:'Cluster {{ $labels.%(clusterLabel)s }} has overcommitted CPU resource requests for Pods by {{ $value }} CPU shares and cannot tolerate node failure.' % $._config,
37
37
summary:'Cluster has overcommitted CPU resource requests.',
38
38
},
39
39
'for': '10m',
@@ -49,7 +49,7 @@
49
49
severity:'warning',
50
50
},
51
51
annotations: {
52
-
description:'Cluster {{ $labels.cluster }} has overcommitted memory resource requests for Pods by {{ $value | humanize }} bytes and cannot tolerate node failure.',
52
+
description:'Cluster {{ $labels.%(clusterLabel)s }} has overcommitted memory resource requests for Pods by {{ $value | humanize }} bytes and cannot tolerate node failure.' % $._config,
53
53
summary:'Cluster has overcommitted memory resource requests.',
54
54
},
55
55
'for': '10m',
@@ -66,7 +66,7 @@
66
66
severity:'warning',
67
67
},
68
68
annotations: {
69
-
description:'Cluster {{ $labels.cluster }} has overcommitted CPU resource requests for Namespaces.',
69
+
description:'Cluster {{ $labels.%(clusterLabel)s }} has overcommitted CPU resource requests for Namespaces.' % $._config,
70
70
summary:'Cluster has overcommitted CPU resource requests.',
71
71
},
72
72
'for': '5m',
@@ -83,7 +83,7 @@
83
83
severity:'warning',
84
84
},
85
85
annotations: {
86
-
description:'Cluster {{ $labels.cluster }} has overcommitted memory resource requests for Namespaces.',
86
+
description:'Cluster {{ $labels.%(clusterLabel)s }} has overcommitted memory resource requests for Namespaces.' % $._config,
87
87
summary:'Cluster has overcommitted memory resource requests.',
0 commit comments