-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathvalues.yaml
399 lines (330 loc) · 14 KB
/
values.yaml
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
## Default values for Wavefront
## This is a unique name for the cluster
## All metrics will receive a `cluster` tag with this value
## Required
clusterName: KUBERNETES_CLUSTER_NAME
installationMethod: helm
## Wavefront URL (cluster) and API Token
## Required
wavefront:
url: https://YOUR_CLUSTER.wavefront.com
token: YOUR_API_TOKEN
## Wavefront Collector is responsible to get all Kubernetes metrics from your cluster.
## It will capture Kubernetes resources metrics available from the kubelets,
## as well as auto-discovery capabilities.
collector:
enabled: true
image:
repository: projects.registry.vmware.com/tanzu_observability/kubernetes-collector
tag: "1.16.0"
pullPolicy: IfNotPresent
## Set the updateStrategy for the collector deployment or daemonset
## if no updateStrategy is set, it will use the defaults.
# updateStrategy:
# type: RollingUpdate
# rollingUpdate:
# maxUnavailable: 1
## If set to true, DaemonSet will be used for the collector.
## If set to false, Deployment will be used for the collector.
## Setting this to true is strongly recommended
useDaemonset: true
## max number of CPUs that can be used simultaneously. Less than 1 for default (number of cores)
# maxProcs: 0
## log level one of: info, debug, or trace. (default info)
# logLevel: info
## The resolution at which the collector will retain metrics. (default 60s)
# interval: 60s
## How often collected data is flushed (default 10s)
# flushInterval: 10s
## Timeout for exporting data (default 20s)
# sinkDelay: 20s
## If set to true, will use the unauthenticated real only port for the kubelet
## If set to false, will use the encrypted full access port for the kubelet (default false)
# useReadOnlyPort: false
## If set to true, metrics will be sent to Wavefront via a Wavefront Proxy.
## When true you must either specify a value for `collector.proxyAddress` or set `proxy.enabled` to true
## If set to false, metrics will be sent to Wavefront via the Direct Ingestion API
useProxy: true
## Can be used to specify a specific address for the Wavefront Proxy
## The proxy can be anywhere network reachable including outside of the cluster
## Required if `collector.useProxy` is true and `proxy.enabled` is false
# proxyAddress: wavefront-proxy:2878
## Enable metrics for control plane dashboard
## If controlplane is omitted, controlplane.enabled is defaulted to false
controlplane:
enabled: true
collection:
interval: 120s
## If set to true, metrics about Kubernetes State will be generated by the collector
## These metrics are more efficient than kube-state-metrics
kubernetesState: true
## If set to true Kubernetes API Server will also be scraped for metrics (default false)
# apiServerMetrics: false
## Map of tags to apply to all metrics collected by the collector (default empty)
# tags:
## sample tags to include (env, region)
# env: production
# region: us-west-2
## If set to true, host OS metrics will be collected
hostOSMetrics: false
## Filters to apply towards all metrics collected by the collector
filters:
# Optimized metrics collection to omit peripheral metrics.
metricDenyList:
- 'kubernetes.sys_container.*'
- 'kubernetes.collector.runtime.*'
- 'kubernetes.*.network.rx_rate'
- 'kubernetes.*.network.rx_errors_rate'
- 'kubernetes.*.network.tx_rate'
- 'kubernetes.*.network.tx_errors_rate'
- 'kubernetes.*.memory.page_faults'
- 'kubernetes.*.memory.page_faults_rate'
- 'kubernetes.*.memory.major_page_faults'
- 'kubernetes.*.memory.major_page_faults_rate'
- 'kubernetes.*.filesystem.inodes'
- 'kubernetes.*.filesystem.inodes_free'
- 'kubernetes.*.ephemeral_storage.request'
- 'kubernetes.*.ephemeral_storage.limit'
# Filter out generated labels
tagExclude:
- 'label?controller?revision*'
- 'label?pod?template*'
- 'annotation_kubectl_kubernetes_io_last_applied_configuration'
## cAdvisor gives detailed metrics about container resource usage
## See https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md for details on available metrics.
cadvisor:
enabled: false
filters:
metricAllowList:
- 'kubernetes.cadvisor.container.cpu.cfs.throttled.seconds.total.counter'
- 'kubernetes.cadvisor.container.cpu.cfs.throttled.periods.total.counter'
## Events can also be collected and sent to Wavefront.
## Requires Wavefront Proxy 6.0 or greater.
## Events should be filtered before being enabled, see event filtering documentation for details
## Ref: https://github.com/wavefrontHQ/wavefront-collector-for-kubernetes/blob/main/docs/filtering.md
events:
enabled: false
# filters:
# tagWhilelistSets:
# - kind:
# - "Deployment"
# - reason:
# - "ScalingReplicaSet"
# - "ReplicaSetCreateError"
# - kind:
# - "HorizontalPodAutoscaler"
# reason:
# - "Failed*"
## Rules based discovery configuration
## Ref: https://github.com/wavefrontHQ/wavefront-collector-for-kubernetes/blob/main/docs/discovery.md
discovery:
enabled: true
## When specified, this replaces `prometheus.io` as the prefix for annotations used to
## auto-discover Prometheus endpoints
# annotationPrefix: "wavefront.com"
## Whether to enable runtime discovery configurations
## Ref: https://github.com/wavefrontHQ/wavefront-collector-for-kubernetes/blob/main/docs/discovery.md#runtime-configurations
enableRuntimeConfigs: true
## Exclude resources from annotation-based discovery
# annotationExcludes:
# - resourceType: "pod"
# images: ["redis:*","*redis*"]
#
# # map of labels to select resources by. Label values are provided as a list of glob pattern strings.
# labels:
# k8s-app:
# - "redis"
# - "*cache*"
#
# # namespaces to filter resources by. Provided as a list of glob pattern strings.
# namespaces:
# - "default"
## Can be used to add additional discovery rules
# config:
## auto-discover a sample prometheus application
# - name: prom-example
# type: prometheus
# selectors:
# labels:
# k8s-app:
# - prom-example
# port: 8080
# path: /metrics
# prefix: kube.prom-example.
# tags:
# alt_name: sample-app
## auto-discover mongodb pods (replace USER:PASSWORD)
# - name: mongodb
# type: telegraf/mongodb
# selectors:
# images:
# - '*mongo*'
# port: 27017
# conf: |
# servers = ["mongodb://USER:PASSWORD@${host}:${port}"]
# gather_perdb_stats = true
# filters:
# metricBlacklist:
# - 'mongodb.member.status'
# - 'mongodb.state'
# - 'mongodb.db.stats.type'
## auto-discover rabbitmq pods (replace USER and PASSWORD)
# - name: rabbitmq
# type: telegraf/rabbitmq
# selectors:
# images:
# - '*rabbitmq:*'
# port: 15672
# conf: |
# url = "http://${host}:${port}"
# username = "USER"
# password = "PASSWORD"
## Wavefront Collector resource requests and limits
## Make sure to keep requests and limits equal to keep the pods in the Guaranteed QoS class
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
requests:
cpu: 200m
memory: 10Mi
limits:
cpu: 200m
memory: 256Mi
## Optionally set a priority class name for the collector.
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
# priorityClassName: ""
## Optionally set tolerations for the collector
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# tolerations:
## Wavefront Proxy is a metrics forwarder that is used to relay metrics to the Wavefront SaaS service.
## It can receive metrics from the Wavefront Collector as well as other metrics collection services
## within your cluster. The proxy also supports preprocessor rules to allow you to further filter
## and enhance your metric names, and tags. Should network connectivity fall between the proxy and
## Wavefront SaaS service, the proxy will buffer metrics, which will be flushed when connectivity resumes.
## Ref: https://docs.wavefront.com/proxies.html
proxy:
enabled: true
image:
repository: projects.registry.vmware.com/tanzu_observability/proxy
tag: "12.4.1"
pullPolicy: IfNotPresent
## Wavefront Collector resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
requests:
cpu: 100m
memory: 1Gi
limits:
cpu: 1000m
memory: 4Gi
## Optionally set a priority class name for the proxy.
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
# priorityClassName: ""
## Optionally set tolerations for the proxy
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# tolerations:
## The number of pod replicas to run for the Wavefront Proxy deployment
## This is usually 1
replicas: 1
## The port number the proxy will listen on for metrics in Wavefront data format.
## This is usually 2878
port: 2878
## HTTP proxy configurations when direct HTTP connections to Wavefront servers are not possible.
## httpProxyHost and httpProxyPort must be used together.
# httpProxyHost: 10.202.210.216
# httpProxyPort: 8080
# httpProxyUser: validUser
# httpProxyPassword: validPassword123
## Use in conjunction with CA cert secret and http proxy
useHttpProxyCAcert: false
## The port nubmer the proxy will listen on for tracing spans in Wavefront trace data format.
## This is usually 30000
# tracePort: 30000
## The port nubmer the proxy will listen on for tracing spans in Jaeger data format.
## This is usually 30001
# jaegerPort: 30001
## TCP ports to receive Jaeger Thrift formatted data via HTTP. The data is then sent to Wavefront in Wavefront span format.
## This is usually 30080
# traceJaegerHttpListenerPort: 30080
## The port nubmer the proxy will listen on for tracing spans in Zipkin data format.
## This is usually 9411
# zipkinPort: 9411
## Sampling rate to apply to tracing spans sent to the proxy.
## This rate is applied to all data formats the proxy is listening on.
## Value should be between 0.0 and 1.0. Default is 1.0
# traceSamplingRate: 0.25
## When this is set to a value greater than 0,
## spans that are greater than or equal to this value will be sampled.
# traceSamplingDuration: 500
## Custom application name for traces received on Jaeger's traceJaegerListenerPorts or traceJaegerHttpListenerPorts.
# traceJaegerApplicationName: MyJaegerDemo
## Custom application name for traces received on Zipkin's traceZipkinListenerPorts.
# traceZipkinApplicationName: MyZipkinDemo
## The port number the proxy will listen on for histogram distributions in Wavefront Distribution format.
## This is usually 40000
# histogramPort: 40000
## The port number the proxy will listen on for minute acculumated histograms in Wavefront Data format.
## This is usually 40001
# histogramMinutePort: 40001
## The port number the proxy will listen on for hour acculumated histograms in Wavefront Data format.
## This is usually 40002
# histogramHourPort: 40002
## The port number the proxy will listen on for day acculumated histograms in Wavefront Data format.
## This is usually 40003
# histogramDayPort: 40003
## The port number the proxy will listen on for minute acculumated delta counters in Wavefront Data format.
## This is usually 50000
# deltaCounterPort: 50000
## Any configuration property can be passed to the proxy via command line args in
## in the format: `--<property_name> <value>`. Multiple properties can be specified
## separated by whitespace.
## Ref: https://docs.wavefront.com/proxies_configuring.html
# args:
## Proxy is a Java application. By default Java will consume upto 4G of heap memory.
## This can be used to override the default. Uses the `-Xmx` command line option for java
# heap: 1024m
## Preprocessor rules is a powerful way to apply filtering or to enhance metrics as they flow
## through the proxy. You can configure the rules here. By default a rule to drop Kubernetes
## generated labels is applied to remove unecessary and often noisy tags.
## Ref: https://docs.wavefront.com/proxies_preprocessor_rules.html
# preprocessor:
# rules.yaml: |
# '2878':
# # fix %2F to be a / instead. May be required on EKS.
# - rule : fix-forward-slash
# action : replaceRegex
# scope : pointLine
# search : "%2F"
# replace : "/"
# # replace bad characters ("&", "$", "!", "@") with underscores in the entire point line string
# - rule : replace-badchars
# action : replaceRegex
# scope : pointLine
# search : "[&\\$!@]"
# replace : "_"
## Specifies whether RBAC resources should be created
rbac:
create: true
## Specifies whether a ServiceAccount should be created
serviceAccount:
create: true
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the fullname template
name:
## Optional array of imagePullSecrets containing private registry credentials
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# - name: secretName
## kube-state-metrics are used to get metrics about the state of the Kubernetes scheduler
## If enabled the kube-state-metrics chart will be installed as a subchart and the collector
## will be configured to capture metrics.
kubeStateMetrics:
enabled: false
## Required for vSphere with Tanzu Kubernetes clusters.
## If enabled, a role binding to handle pod security policy will be installed within the Kubernetes cluster.
vspheretanzu:
enabled: false
projectPacific: ## Original variable name of vspheretanzu, left in for backward compatibility
enabled: false
openshift:
enabled: false
testCollectorImage: bitnami/kubectl:latest