-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcpu-on-dns-pods-high-variables.tf
77 lines (64 loc) · 1.62 KB
/
cpu-on-dns-pods-high-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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
variable "cpu_on_dns_pods_high_enabled" {
type = bool
default = true
}
variable "cpu_on_dns_pods_high_warning" {
type = number
default = 70
}
variable "cpu_on_dns_pods_high_critical" {
type = number
default = 85
}
variable "cpu_on_dns_pods_high_evaluation_period" {
type = string
default = "last_30m"
}
variable "cpu_on_dns_pods_high_note" {
type = string
default = ""
}
variable "cpu_on_dns_pods_high_docs" {
type = string
default = ""
}
variable "cpu_on_dns_pods_high_filter_override" {
type = string
default = ""
}
variable "dns_filter_tags" {
description = <<-EOD
Getting all the DNS containers by default is hard to do.
What we try is to make a list of datadog tags / filters that should help us find those
We then build a filter in the following way: ($originalfilterstring) AND (item1 OR item2 OR item3...)
If that doesn't work for your use-cause you can override the filter list or use cpu_on_dns_pods_high_filter_override
EOD
type = list(string)
default = [
"kube_service:kube-dns",
"short_image:coredns",
"short_image:ucp-coredns",
"short_image:ucp-kube-dns",
]
}
variable "cpu_on_dns_pods_high_alerting_enabled" {
type = bool
default = true
}
variable "cpu_on_dns_pods_high_no_data_timeframe" {
type = number
default = null
}
variable "cpu_on_dns_pods_high_notify_no_data" {
type = bool
default = false
}
variable "cpu_on_dns_pods_high_ok_threshold" {
type = number
default = null
}
variable "cpu_on_dns_pods_high_priority" {
description = "Number from 1 (high) to 5 (low)."
type = number
default = 2
}