|
36 | 36 | severity: 'critical', |
37 | 37 | }, |
38 | 38 | annotations: { |
39 | | - description: 'The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} on Cluster {{ $labels.%(clusterLabel)s }} is only {{ $value | humanizePercentage }} free.' % $._config, |
| 39 | + description: 'The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} {{ with $labels.%(clusterLabel)s -}} on Cluster {{ . }} {{- end }} is only {{ $value | humanizePercentage }} free.' % $._config, |
40 | 40 | summary: 'PersistentVolume is filling up.', |
41 | 41 | }, |
42 | 42 | }, |
|
62 | 62 | severity: 'warning', |
63 | 63 | }, |
64 | 64 | annotations: { |
65 | | - description: 'Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} on Cluster {{ $labels.%(clusterLabel)s }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available.' % $._config, |
| 65 | + description: 'Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} {{ with $labels.%(clusterLabel)s -}} on Cluster {{ . }} {{- end }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available.' % $._config, |
66 | 66 | summary: 'PersistentVolume is filling up.', |
67 | 67 | }, |
68 | 68 | }, |
|
86 | 86 | severity: 'critical', |
87 | 87 | }, |
88 | 88 | annotations: { |
89 | | - description: 'The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} on Cluster {{ $labels.%(clusterLabel)s }} only has {{ $value | humanizePercentage }} free inodes.' % $._config, |
| 89 | + description: 'The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} {{ with $labels.%(clusterLabel)s -}} on Cluster {{ . }} {{- end }} only has {{ $value | humanizePercentage }} free inodes.' % $._config, |
90 | 90 | summary: 'PersistentVolumeInodes are filling up.', |
91 | 91 | }, |
92 | 92 | }, |
|
112 | 112 | severity: 'warning', |
113 | 113 | }, |
114 | 114 | annotations: { |
115 | | - description: 'Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} on Cluster {{ $labels.%(clusterLabel)s }} is expected to run out of inodes within four days. Currently {{ $value | humanizePercentage }} of its inodes are free.' % $._config, |
| 115 | + description: 'Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} {{ with $labels.%(clusterLabel)s -}} on Cluster {{ . }} {{- end }} is expected to run out of inodes within four days. Currently {{ $value | humanizePercentage }} of its inodes are free.' % $._config, |
116 | 116 | summary: 'PersistentVolumeInodes are filling up.', |
117 | 117 | }, |
118 | 118 | }, |
|
126 | 126 | severity: 'critical', |
127 | 127 | }, |
128 | 128 | annotations: { |
129 | | - description: 'The persistent volume {{ $labels.persistentvolume }} on Cluster {{ $labels.%(clusterLabel)s }} has status {{ $labels.phase }}.' % $._config, |
| 129 | + description: 'The persistent volume {{ $labels.persistentvolume }} {{ with $labels.%(clusterLabel)s -}} on Cluster {{ . }} {{- end }} has status {{ $labels.phase }}.' % $._config, |
130 | 130 | summary: 'PersistentVolume is having issues with provisioning.', |
131 | 131 | }, |
132 | 132 | }, |
|
0 commit comments