-
Notifications
You must be signed in to change notification settings - Fork 6
/
memory-requests-low-perc-state-variables.tf
62 lines (50 loc) · 1.63 KB
/
memory-requests-low-perc-state-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
58
59
60
61
62
variable "memory_requests_low_perc_state_enabled" {
type = bool
default = false
description = "Memory state limits are only available when the state metrics api is deployed https://github.com/kubernetes/kube-state-metrics"
}
variable "memory_requests_low_perc_state_warning" {
type = number
default = 85
}
variable "memory_requests_low_perc_state_critical" {
type = number
default = 95
}
variable "memory_requests_low_perc_state_evaluation_period" {
type = string
default = "last_5m"
}
variable "memory_requests_low_perc_state_note" {
type = string
default = ""
}
variable "memory_requests_low_perc_state_docs" {
type = string
default = "If the node where a Pod is running has enough of a resource available, it's possible (and allowed) for a container to use more of a resource than its request for that resource specifies. However, a container is not allowed to use more than its resource limit. https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
}
variable "memory_requests_low_perc_state_filter_override" {
type = string
default = ""
}
variable "memory_requests_low_perc_state_alerting_enabled" {
type = bool
default = true
}
variable "memory_requests_low_perc_state_no_data_timeframe" {
type = number
default = null
}
variable "memory_requests_low_perc_state_notify_no_data" {
type = bool
default = false
}
variable "memory_requests_low_perc_state_ok_threshold" {
type = number
default = null
}
variable "memory_requests_low_perc_state_priority" {
description = "Number from 1 (high) to 5 (low)."
type = number
default = 3
}