-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathvalues.yaml
More file actions
204 lines (158 loc) · 5.54 KB
/
Copy pathvalues.yaml
File metadata and controls
204 lines (158 loc) · 5.54 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
image:
repository: registry.k8s.io/dns/k8s-dns-node-cache
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
config:
# -- Internal k8s DNS domain
dnsDomain: "cluster.local"
# -- Main coredns service (kube-dns) ip, used on iptables-mode.
dnsServer: "172.20.0.10"
# -- Virtual IP to be used by ipvs mode, to be used as --cluster-dns, must not collide.
localDns: "169.254.20.25"
# -- Use a custom upstreamsvc for -upstreamsvc
customUpstreamsvc: ""
# -- Use a custom upstream service selector
upstreamServiceSelector:
k8s-app: kube-dns
# -- If false, it will bind 0.0.0.0, otherwise dnsServer and localDns will be used. https://github.com/bottlerocket-os/bottlerocket/issues/3711#issuecomment-1907087528
bindIp: false
# -- Set communication protocol. Options are `prefer_udp` or `force_tcp`
commProtocol: "force_tcp"
# -- Set boolean to log DNS requests
enableLogging: false
# -- If true, return NOERROR when attempting to resolve an IPv6 address
noIPv6Lookups: false
# -- Cache TTL in seconds for DNS records. https://coredns.io/plugins/cache/
cacheTTL: 30
# -- If enabled, coredns will prefetch popular items when they are about to be expunged from the cache. https://coredns.io/plugins/cache/
prefetch:
enabled: false
amount: 3
duration: 30s
percentage: 20%
# -- If enabled, coredns will serve stale cache entries while fetching fresh ones in the background. https://coredns.io/plugins/cache/
serveStale:
enabled: false
duration: "1h"
mode: verify
# -- Port used for the health endpoint
healthPort: 8080
setupInterface: true
setupIptables: true
skipTeardown: false
# -- Add extra server blocks to the generated configuration.
extraServerBlocks: ""
# -- Overrides the generated configuration with specified one.
customConfig: ""
port:
# -- Port used for DNS traffic
number: 53
# -- Port name used for TCP DNS traffic
tcp: dns-tcp
# -- Port name used for UDP DNS traffic
udp: dns
# -- Overrides the upstream servers used for default server block
upstreamServers: "__PILLAR__UPSTREAM__SERVERS__"
# -- Allows for configuration of upstream server forwarding for the default server block
upstreamForwardConfig: {}
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# -- Specifies whether a service account should be created.
create: true
# -- Annotations to add to the service account.
annotations: {}
# -- The name of the service account to use.
# -- If not set and create is true, a name is generated using the fullname template.
name: ""
service:
# -- Annotations to add to the service.
annotations: {}
podAnnotations: {}
podLabels: {}
configMapAnnotations: {}
configMapLabels: {}
daemonsetAnnotations: {}
daemonsetLabels: {}
# -- DaemonSet update strategy configuration
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 10%
# Optional, can be set to a integer value rather than a percentage
# maxUnavailable: 1
# maxSurge: 0
initContainers: []
securityContext:
capabilities:
add:
- NET_ADMIN
# -- https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md
serviceMonitor:
# -- Ensure that servicemonitor is created, this will disable prometheus annotations
enabled: false
labels: {}
path: /metrics
honorLabels: false
# Fallback to the prometheus default unless specified
# interval: 10s
# Fallback to the prometheus default unless specified
# scrapeTimeout: 30s
# -- Metric relabel configs to apply to samples before ingestion.
# [Metric Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs)
metricRelabelings: []
# - action: keep
# regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
# sourceLabels: [__name__]
# -- Relabel configs to apply to samples before ingestion.
# [Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config)
relabelings: []
# - sourceLabels: [__meta_kubernetes_pod_node_name]
# separator: ;
# regex: ^(.*)$
# targetLabel: nodename
# replacement: $1
# action: replace
#
# -- The service monitor name prefix which align with the prometheus operator name, eg.: `kube-prometheus-stack`
namePrefix: ""
# -- The namespace of prometheus where the service monitor should be deployed
prometheusNamespace: kube-system
# -- https://github.com/grafana/helm-charts/blob/main/charts/grafana/README.md
dashboard:
enabled: false
# -- namespace where grafana sidecar is configured to look for dashboards. e.g. "monitoring"
namespace: kube-system
# -- label that grafana sidecar is configured to look for
label: grafana_dashboard
annotations: {}
resources:
requests:
cpu: 25m
memory: 128Mi
limits:
memory: 128Mi
# -- Container lifecycle hooks for the node-cache pod.
lifecycle: {}
# preStop:
# exec:
# command: ["/bin/sh", "-c", "sleep 30"]
# -- Resize policy for in-place pod vertical scaling.
# [Container resize policies](https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/)
resizePolicy: []
# - resourceName: cpu
# restartPolicy: NotRequired
# - resourceName: memory
# restartPolicy: RestartContainer
affinity: {}
imagePullSecrets: []
# - name: "image-pull-secret"
prometheusScraping:
enabled: true
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
- effect: "NoExecute"
operator: "Exists"
- effect: "NoSchedule"
operator: "Exists"