File tree 1 file changed +0
-10
lines changed
terraform/modules/alert_policies
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,8 @@ resource "google_monitoring_alert_policy" "k8s_pending_pod_not_starting_alert_po
28
28
renotify_interval = " 3600s"
29
29
}
30
30
}
31
- severity = " warning"
32
31
project = var. project_id
33
32
documentation {
34
- subject = " Pending Pods Alert"
35
33
content = " Pod has been on pending for over 5mins."
36
34
}
37
35
}
@@ -57,10 +55,8 @@ resource "google_monitoring_alert_policy" "k8s_failed_pod_not_starting_alert_pol
57
55
renotify_interval = " 3600s"
58
56
}
59
57
}
60
- severity = " warning"
61
58
project = var. project_id
62
59
documentation {
63
- subject = " Failed Pod Alert"
64
60
content = " Pod has been stuck in 'failed' for over 5mins."
65
61
}
66
62
}
@@ -90,10 +86,8 @@ resource "google_monitoring_alert_policy" "k8s_restart_alert_policy" {
90
86
renotify_interval = " 3600s"
91
87
}
92
88
}
93
- severity = " warning"
94
89
project = var. project_id
95
90
documentation {
96
- subject = " Pod continously restarting."
97
91
content = " The pod has been restarted more than 3 times in the last 5 mins."
98
92
}
99
93
}
@@ -137,10 +131,8 @@ resource "google_monitoring_alert_policy" "k8s_critical_resource_alert_policy" {
137
131
renotify_interval = " 3600s"
138
132
}
139
133
}
140
- severity = " warning"
141
134
project = var. project_id
142
135
documentation {
143
- subject = " Pod using critical amount of resources"
144
136
content = " Pod has been using more than 95% CPU and 90% Memory for the last 5 mins"
145
137
}
146
138
}
@@ -165,10 +157,8 @@ resource "google_monitoring_alert_policy" "k8s_readiness_alert_policy" {
165
157
renotify_interval = " 3600s"
166
158
}
167
159
}
168
- severity = " warning"
169
160
project = var. project_id
170
161
documentation {
171
- subject = " Pod not ready alert"
172
162
content = " The pod has not been ready for over 5 mins."
173
163
}
174
164
}
You can’t perform that action at this time.
0 commit comments