-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathreplicaset-unavailable-variables.tf
57 lines (46 loc) · 1.42 KB
/
replicaset-unavailable-variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
variable "replicaset_unavailable_enabled" {
type = bool
default = true
}
variable "replicaset_unavailable_critical" {
type = number
default = 0
description = "alert is raised when (desired - running) == 0"
}
variable "replicaset_unavailable_evaluation_period" {
type = string
default = "last_5m"
}
variable "replicaset_unavailable_note" {
type = string
default = "There's also a monitor defined for when the replicaset is only partially available"
}
variable "replicaset_unavailable_docs" {
type = string
default = "In kubernetes a Replicaset is responsible for making sure a specific number of pods runs. An example for a reason when that's not is the case, is when the image cannot be pulled, the pod fails to initialize or no resources are available on the cluster\nThis alert is raised when running == 0 and desired > 1"
}
variable "replicaset_unavailable_filter_override" {
type = string
default = ""
}
variable "replicaset_unavailable_alerting_enabled" {
type = bool
default = true
}
variable "replicaset_unavailable_no_data_timeframe" {
type = number
default = null
}
variable "replicaset_unavailable_notify_no_data" {
type = bool
default = false
}
variable "replicaset_unavailable_ok_threshold" {
type = number
default = null
}
variable "replicaset_unavailable_priority" {
description = "Number from 1 (high) to 5 (low)."
type = number
default = 2
}