-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
values.yaml
600 lines (533 loc) · 20.6 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
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
# Default values for linkerd.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Fields that should be common with the core control plane
# -- control plane version. See Proxy section for proxy version
linkerdVersion: linkerdVersionValue
# -- Kubernetes DNS Domain name to use
clusterDomain: cluster.local
# -- Additional labels to add to all pods
podLabels: {}
# -- Labels to apply to all resources
commonLabels: {}
# -- Trust domain used for identity
# @default -- clusterDomain
identityTrustDomain: ""
# -- Specifies the number of old ReplicaSets to retain to allow rollback.
revisionHistoryLimit: 10
# -- Docker registry for all viz components
defaultRegistry: cr.l5d.io/linkerd
# -- Docker imagePullPolicy for all viz components
defaultImagePullPolicy: IfNotPresent
# -- Log level for all the viz components
defaultLogLevel: info
# -- Log format (`plain` or `json`) for all the viz components.
defaultLogFormat: plain
# -- UID for all the viz components
defaultUID: 2103
# -- GID for all the viz components
defaultGID: 2103
# -- Namespace of the Linkerd core control-plane install
linkerdNamespace: linkerd
# -- Default nodeSelector section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) for more information
nodeSelector: &default_node_selector
kubernetes.io/os: linux
# -- For Private docker registries, authentication is needed.
# Registry secrets are applied to the respective service accounts
imagePullSecrets: []
# - name: my-private-docker-registry-login-secret
# -- Default tolerations section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
# for more information
tolerations: &default_tolerations
# -- Enables Pod Anti Affinity logic to balance the placement of replicas
# across hosts and zones for High Availability.
# Enable this only when you have multiple replicas of components.
enablePodAntiAffinity: false
# -- enables the creation of pod disruption budgets for tap, tap-injector, web and metrics-api components
enablePodDisruptionBudget: false
# -- NodeAffinity section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity)
# for more information
# nodeAffinity:
# -- Creates a Job that adds necessary metadata to the extension's namespace
# during install; disable if lack of privileges require doing this manually
createNamespaceMetadataJob: true
# -- Create Roles and RoleBindings to associate this extension's
# ServiceAccounts to the control plane PSP resource. This requires that
# `enabledPSP` is set to true on the control plane install. Note PSP has been
# deprecated since k8s v1.21
enablePSP: false
# -- url of external prometheus instance
prometheusUrl: ""
# -- Name of the prometheus credentials secret. If this is set, the metrics-api
# will use basic auth to connect to prometheus and load the user and password
# from the "user" and "password" keys respectively in the given secret. The
# secret must be in the same namespace and must exist before the metrics-api is
# deployed.
prometheusCredsSecret: ""
# -- url of external jaeger instance
# Set this to `jaeger.linkerd-jaeger.svc.<clusterDomain>:16686` if you plan to use jaeger extension
jaegerUrl: ""
# metrics API configuration
metricsAPI:
# -- Number of replicas of the metrics-api component
replicas: 1
# -- log level of the metrics-api component
# @default -- defaultLogLevel
logLevel: ""
# -- log format of the metrics-api component
# @default -- defaultLogFormat
logFormat: ""
image:
# -- Docker registry for the metrics-api component
# @default -- defaultRegistry
registry: ""
# -- Docker image name for the metrics-api component
name: metrics-api
# -- Docker image tag for the metrics-api component
# @default -- linkerdVersion
tag: ""
# -- Pull policy for the metrics-api component
# @default -- defaultImagePullPolicy
pullPolicy: ""
resources:
cpu:
# -- Maximum amount of CPU units that the metrics-api container can use
limit:
# -- Amount of CPU units that the metrics-api container requests
request:
memory:
# -- Maximum amount of memory that metrics-api container can use
limit:
# -- Amount of memory that the metrics-api container requests
request:
ephemeral-storage:
# -- Maximum amount of ephemeral storage that the metrics-api container can use
limit: ""
# -- Amount of ephemeral storage that the metrics-api container requests
request: ""
proxy:
# -- If set, overrides default proxy resources for the proxy injected
# into the metrics-api component
# resources:
# -- UID for the metrics-api resource
UID:
# -- GID for the metrics-api resource
GID:
# -- NodeSelector section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) for more information
nodeSelector: *default_node_selector
# -- Tolerations section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
# for more information
tolerations: *default_tolerations
# -- metrics-api service configuration
service:
# -- Additional annotations to add to metrics-api service
annotations: {}
# tap configuration
tap:
# -- Number of tap component replicas
replicas: 1
# -- log level of the tap component
# @default -- defaultLogLevel
logLevel: ""
# -- log format of the tap component
# @default -- defaultLogFormat
logFormat: ""
image:
# -- Docker registry for the tap instance
# @default -- defaultRegistry
registry: ""
# -- Docker image name for the tap instance
name: tap
# -- Docker image tag for the tap instance
# @default -- linkerdVersion
tag: ""
# -- Pull policy for the tap component
# @default -- defaultImagePullPolicy
pullPolicy: ""
# -- Do not create a secret resource for the Tap component.
# If this is set to `true`, the value `tap.caBundle` must be set
# or the ca bundle must injected with cert-manager ca injector using
# `tap.injectCaFrom` or `tap.injectCaFromSecret` (see below).
externalSecret: false
# -- Certificate for the Tap component. If not provided and not using an external secret
# then Helm will generate one.
crtPEM: |
# -- Certificate key for Tap component. If not provided and not using an external secret
# then Helm will generate one.
keyPEM: |
# -- Bundle of CA certificates for tap.
# If not provided nor injected with cert-manager,
# then Helm will use the certificate generated for `tap.crtPEM`.
# If `tap.externalSecret` is set to true, this value, injectCaFrom, or
# injectCaFromSecret must be set, as no certificate will be generated.
# See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector) for more information.
caBundle: |
# -- Inject the CA bundle from a cert-manager Certificate.
# See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector/#injecting-ca-data-from-a-certificate-resource)
# for more information.
injectCaFrom: ""
# -- Inject the CA bundle from a Secret.
# If set, the `cert-manager.io/inject-ca-from-secret` annotation will be added to the webhook.
# The Secret must have the CA Bundle stored in the `ca.crt` key and have
# the `cert-manager.io/allow-direct-injection` annotation set to `true`.
# See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector/#injecting-ca-data-from-a-secret-resource)
# for more information.
injectCaFromSecret: ""
resources:
cpu:
# -- Maximum amount of CPU units that the tap container can use
limit:
# -- Amount of CPU units that the tap container requests
request:
memory:
# -- Maximum amount of memory that tap container can use
limit:
# -- Amount of memory that the tap container requests
request:
ephemeral-storage:
# -- Maximum amount of ephemeral storage that the tap container can use
limit: ""
# -- Amount of ephemeral storage that the tap container requests
request: ""
# -- List of headers that will be ignored for Linkerd Tap
ignoreHeaders: []
proxy:
# -- If set, overrides default proxy resources for the proxy injected
# into the tap component
# resources:
# -- UID for the tap component
UID:
# -- GID for the tap component
GID:
# -- tap service configuration
service:
# -- Additional annotations to add to tap service
annotations: {}
# tapInjector configuration
tapInjector:
# -- Number of replicas of tapInjector
replicas: 1
# -- log level of the tapInjector
# @default -- defaultLogLevel
logLevel: ""
# -- log format of the tapInjector component
# @default -- defaultLogFormat
logFormat: ""
image:
# -- Docker registry for the tapInjector instance
# @default -- defaultRegistry
registry: ""
# -- Docker image name for the tapInjector instance
name: tap
# -- Docker image tag for the tapInjector instance
# @default -- linkerdVersion
tag: ""
# -- Pull policy for the tapInjector component
# @default -- defaultImagePullPolicy
pullPolicy: ""
# -- Namespace selector used by admission webhook.
namespaceSelector:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: NotIn
values:
- kube-system
objectSelector:
# matchLabels:
# foo: bar
# -- UID for the tapInjector resource
UID:
# -- GID for the tapInjector resource
GID:
failurePolicy: Ignore
resources:
cpu:
# -- Maximum amount of CPU units that the tapInjector container can use
limit:
# -- Amount of CPU units that the tapInjector container requests
request:
memory:
# -- Maximum amount of memory that tapInjector container can use
limit:
# -- Amount of memory that the tapInjector container requests
request:
ephemeral-storage:
# -- Maximum amount of ephemeral storage that the tapInjector container can use
limit: ""
# -- Amount of ephemeral storage that the tapInjector container requests
request: ""
proxy:
# -- If set, overrides default proxy resources for the proxy injected
# into the tapInjector component
# resources:
# -- Do not create a secret resource for the tapInjector webhook.
# If this is set to `true`, the value `tapInjector.caBundle` must be set
# or the ca bundle must injected with cert-manager ca injector using
# `tapInjector.injectCaFrom` or `tapInjector.injectCaFromSecret` (see below).
externalSecret: false
# -- Certificate for the tapInjector. If not provided and not using an external secret
# then Helm will generate one.
crtPEM: |
# -- Certificate key for the tapInjector. If not provided and not using an external secret
# then Helm will generate one.
keyPEM: |
# -- Bundle of CA certificates for the tapInjector.
# If not provided nor injected with cert-manager,
# then Helm will use the certificate generated for `tapInjector.crtPEM`.
# If `tapInjector.externalSecret` is set to true, this value, injectCaFrom, or
# injectCaFromSecret must be set, as no certificate will be generated.
# See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector) for more information.
caBundle: |
# -- Inject the CA bundle from a cert-manager Certificate.
# See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector/#injecting-ca-data-from-a-certificate-resource)
# for more information.
injectCaFrom: ""
# -- Inject the CA bundle from a Secret.
# If set, the `cert-manager.io/inject-ca-from-secret` annotation will be added to the webhook.
# The Secret must have the CA Bundle stored in the `ca.crt` key and have
# the `cert-manager.io/allow-direct-injection` annotation set to `true`.
# See the cert-manager [CA Injector Docs](https://cert-manager.io/docs/concepts/ca-injector/#injecting-ca-data-from-a-secret-resource)
# for more information.
injectCaFromSecret: ""
# -- tap service configuration
service:
# -- Additional annotations to add to tapInjector service
annotations: {}
# web dashboard configuration
dashboard:
# -- Number of replicas of dashboard
replicas: 1
# -- log level of the dashboard component
# @default -- defaultLogLevel
logLevel: ""
# -- log format of the dashboard component
# @default -- defaultLogFormat
logFormat: ""
image:
# -- Docker registry for the web instance
# @default -- defaultRegistry
registry: ""
# -- Docker image name for the web instance
name: web
# -- Docker image tag for the web instance
# @default -- linkerdVersion
tag: ""
# -- Pull policy for the web component
# @default -- defaultImagePullPolicy
pullPolicy: ""
# -- UID for the dashboard resource
UID:
# -- GID for the dashboard resource
GID:
# -- Restrict the Linkerd Dashboard's default privileges to disallow Tap and Check
restrictPrivileges: false
# -- Host header validation regex for the dashboard. See the [Linkerd
# documentation](https://linkerd.io/2/tasks/exposing-dashboard) for more
# information
enforcedHostRegexp: ""
resources:
cpu:
# -- Maximum amount of CPU units that the web container can use
limit:
# -- Amount of CPU units that the web container requests
request:
memory:
# -- Maximum amount of memory that web container can use
limit:
# -- Amount of memory that the web container requests
request:
ephemeral-storage:
# -- Maximum amount of ephemeral storage that the web container can use
limit: ""
# -- Amount of ephemeral storage that the web container requests
request: ""
proxy:
# -- If set, overrides default proxy resources for the proxy injected
# into the dashboard component
# resources:
# -- dashboard service configuration
service:
# -- Additional annotations to add to dashboard service
annotations: {}
namespaceMetadata:
image:
# -- Docker registry for the namespace-metadata instance
# @default -- defaultRegistry
registry: ""
# -- Docker image name for the namespace-metadata instance
name: extension-init
# -- Docker image tag for the namespace-metadata instance
tag: v0.1.1
# -- Pull policy for the namespace-metadata instance
# @default -- defaultImagePullPolicy
pullPolicy: ""
# -- NodeSelector section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) for more information
nodeSelector: *default_node_selector
# -- Tolerations section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
# for more information
tolerations: *default_tolerations
grafana:
# -- url of an in-cluster Grafana instance with reverse proxy configured, used by the
# Linkerd viz web dashboard to provide direct links to specific Grafana
# dashboards. Cannot be set if grafana.externalUrl is set. See the [Linkerd
# documentation](https://linkerd.io/2/tasks/grafana) for more information
url:
# -- url of a Grafana instance hosted off-cluster. Cannot be set if
# grafana.url is set. The reverse proxy will not be used for this URL.
externalUrl:
# -- prefix for Grafana dashboard UID's, used when grafana.externalUrl is
# set.
uidPrefix:
prometheus:
# -- toggle field to enable or disable prometheus
enabled: true
image:
# -- Docker registry for the prometheus instance
registry: prom
# -- Docker image name for the prometheus instance
name: prometheus
# -- Docker image tag for the prometheus instance
tag: v2.48.1
# -- Pull policy for the prometheus instance
# @default -- defaultImagePullPolicy
pullPolicy: ""
# -- log level of the prometheus instance
# @default -- defaultLogLevel
logLevel: ""
# -- log format (plain, json) of the prometheus instance
# @default -- defaultLogLevel
logFormat: ""
# -- Command line options for Prometheus binary
args:
storage.tsdb.path: /data
storage.tsdb.retention.time: 6h
config.file: /etc/prometheus/prometheus.yml
# -- The global configuration specifies parameters that are valid in all other
# configuration contexts.
globalConfig:
scrape_interval: 10s
scrape_timeout: 10s
evaluation_interval: 10s
# -- annotations for the prometheus pod
podAnnotations: {}
# -- Alert relabeling is applied to alerts before they are sent to the
# Alertmanager.
alertRelabelConfigs:
# Ex:
# - action: labeldrop
# regex: prometheus_replica
# -- Alertmanager instances the Prometheus server sends alerts to configured via
# the static_configs parameter.
alertmanagers:
# Ex:
# - scheme: http
# static_configs:
# - targets:
# - "alertmanager.linkerd.svc:9093"
# -- Allows transparently sending samples to an endpoint. Mostly used for long
# term storage.
remoteWrite:
# -- Alerting/recording rule ConfigMap mounts (sub-path names must end in
# ´_rules.yml´ or ´_rules.yaml´)
ruleConfigMapMounts:
# Ex:
# - name: alerting-rules
# subPath: alerting_rules.yml
# configMap: linkerd-prometheus-rules
# - name: recording-rules
# subPath: recording_rules.yml
# configMap: linkerd-prometheus-rules
# -- A scrapeConfigs section specifies a set of targets and parameters
# describing how to scrape them.
scrapeConfigs:
# Ex:
# - job_name: 'kubernetes-nodes'
# scheme: https
# tls_config:
# ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
# bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
# kubernetes_sd_configs:
# - role: node
# relabel_configs:
# - action: labelmap
# regex: __meta_kubernetes_node_label_(.+)
# -- A metricRelabelConfigs section allows to drop high cardinality metrics.
# *NOTE:* Please use with caution. Some metrics are needed for linkerd-viz to
# function properly.
metricRelabelConfigs:
# This allows us to fine tune prometheus cardinality by dropping certain
# metrics as suggested here: https://itnext.io/optimizing-linkerd-metrics-in-prometheus-de607ec10f6b
#
# Ex:
# - action: keep
# source_labels: [le]
# regex: "(?i)(|10|50|100|500|1000|10000|30000|\\+Inf)"
# -- A sidecarContainers section specifies a list of secondary containers to run
# in the prometheus pod e.g. to export data to non-prometheus systems
sidecarContainers:
# Ex:
# - name: sidecar
# image: gcr.io/myproject/stackdriver-prometheus-sidecar
# imagePullPolicy: Always
# command:
# - /bin/sh
# - -c
# - |
# exec /bin/stackdriver-prometheus-sidecar \
# --stackdriver.project-id=myproject \
# --stackdriver.kubernetes.location=us-central1 \
# --stackdriver.kubernetes.cluster-name=mycluster \
# --prometheus.wal-directory=/data/wal \
# --log.level=info
# volumeMounts:
# - mountPath: /data
# name: data
# ports:
# - name: foo
# containerPort: 9091
# protocol: TCP
### WARNING: persistence is experimental and has not been tested/vetted by the Linkerd team.
### As such, please refer to https://linkerd.io/2/tasks/exporting-metrics/ for the recommended approach to metrics data retention.
# if enabled, creates a persistent volume claim for prometheus data
# https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
#persistence:
# -- Storage class used to create prometheus data PV.
# storageClass:
# -- PVC access mode.
# accessMode:
# -- Prometheus data volume size.
# size:
resources:
cpu:
# -- Maximum amount of CPU units that the prometheus container can use
limit:
# -- Amount of CPU units that the prometheus container requests
request:
memory:
# -- Maximum amount of memory that prometheus container can use
limit:
# -- Amount of memory that the prometheus container requests
request:
ephemeral-storage:
# -- Maximum amount of ephemeral storage that the prometheus container can use
limit: ""
# -- Amount of ephemeral storage that the prometheus container requests
request: ""
proxy:
# -- If set, overrides default proxy resources for the proxy injected
# into the prometheus component
# resources:
# -- NodeSelector section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) for more information
nodeSelector: *default_node_selector
# -- Tolerations section, See the
# [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
# for more information
tolerations: *default_tolerations