-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathvalues.yaml
More file actions
784 lines (686 loc) · 32.1 KB
/
Copy pathvalues.yaml
File metadata and controls
784 lines (686 loc) · 32.1 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
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
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
# Default values for Vector
# See Vector helm documentation to learn more:
# https://vector.dev/docs/setup/installation/package-managers/helm/
# nameOverride -- Override the name of resources.
nameOverride: ""
# fullnameOverride -- Override the full name of resources.
fullnameOverride: ""
# role -- [Role](https://vector.dev/docs/setup/deployment/roles/) for this Vector instance, valid options are:
# "Agent", "Aggregator", and "Stateless-Aggregator".
# Each role is created with the following workloads:
# Agent = DaemonSet
# Aggregator = StatefulSet
# Stateless-Aggregator = Deployment
role: "Aggregator"
# Workload API version overrides. Use these to switch to custom controllers
# or to test new Kubernetes API versions.
daemonSet:
# daemonSet.apiVersion -- Override the DaemonSet apiVersion. Valid for the "Agent" role.
apiVersion: ""
statefulSet:
# statefulSet.apiVersion -- Override the StatefulSet apiVersion. Valid for the "Aggregator" role.
apiVersion: ""
# rollWorkload -- Add a checksum of the generated ConfigMap to workload annotations.
rollWorkload: true
# rollWorkloadSecrets -- Add a checksum of the generated Secret to workload annotations.
rollWorkloadSecrets: false
# rollWorkloadExtraObjects -- Add a checksum of the generated ExtraObjects to workload annotations.
rollWorkloadExtraObjects: false
# commonLabels -- Add additional labels to all created resources.
commonLabels: {}
# Define the Vector image to use.
# Vector images are available from:
# - Docker Hub: docker.io/timberio/vector
# - GitHub Container Registry: ghcr.io/vectordotdev/vector
image:
# image.repository -- Override default registry and name for Vector's image.
repository: docker.io/timberio/vector
# image.pullPolicy -- The [pullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) for
# Vector's image.
pullPolicy: IfNotPresent
# image.pullSecrets -- The [imagePullSecrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod)
# to reference for the Vector Pods.
pullSecrets: []
# image.tag -- The tag to use for Vector's image.
# @default -- Derived from the Chart's appVersion.
tag: ""
# image.sha -- The SHA to use for Vector's image.
sha: ""
# image.base -- The base distribution to use for vector. If set, then the base in appVersion will be replaced with this base alongside the version.
# For example: with a `base` of `debian` `0.38.0-distroless-libc` becomes `0.38.0-debian`
base: ""
# replicas -- Specify the number of Pods to create. Valid for the "Aggregator" and "Stateless-Aggregator" roles.
replicas: 1
# Adding additional entries with hostAliases
hostAliases: []
# - ip: "127.0.0.1"
# hostnames:
# - "foo.local"
# - "bar.local"
# podManagementPolicy -- Specify the [podManagementPolicy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies)
# for the StatefulSet. Valid for the "Aggregator" role.
podManagementPolicy: OrderedReady
# Create a Secret resource for Vector to use.
secrets:
# secrets.generic -- Each Key/Value will be added to the Secret's data key, each value should be raw and NOT base64
# encoded. Any secrets can be provided here. It's commonly used for credentials and other access related values.
# **NOTE: Don't commit unencrypted secrets to git!**
generic: {}
# my_variable: "my-secret-value"
# datadog_api_key: "api-key"
# awsAccessKeyId: "access-key"
# awsSecretAccessKey: "secret-access-key"
autoscaling:
# autoscaling.enabled -- Create a [HorizontalPodAutoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
# for Vector. Valid for the "Aggregator" and "Stateless-Aggregator" roles.
enabled: false
# autoscaling.external -- Set to `true` if using an external autoscaler like [KEDA](https://keda.sh/).
# Valid for the "Aggregator and "Stateless-Aggregator" roles.
external: false
# autoscaling.annotations -- Annotations to add to Vector's HPA.
annotations: {}
# autoscaling.minReplicas -- Minimum replicas for Vector's HPA.
minReplicas: 1
# autoscaling.maxReplicas -- Maximum replicas for Vector's HPA.
maxReplicas: 10
# autoscaling.targetCPUUtilizationPercentage -- Target CPU utilization for Vector's HPA.
targetCPUUtilizationPercentage: 80
# autoscaling.targetMemoryUtilizationPercentage -- (int) Target memory utilization for Vector's HPA.
targetMemoryUtilizationPercentage:
# autoscaling.customMetric -- Target a custom metric for autoscaling.
customMetric: {}
# - type: Pods
# pods:
# metric:
# name: utilization
# target:
# type: AverageValue
# averageValue: 95
# autoscaling.behavior -- Configure separate scale-up and scale-down behaviors.
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
podDisruptionBudget:
# podDisruptionBudget.enabled -- Enable a [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
# for Vector.
enabled: false
# podDisruptionBudget.minAvailable -- The number of Pods that must still be available after an eviction.
minAvailable: 1
# podDisruptionBudget.maxUnavailable -- (int) The number of Pods that can be unavailable after an eviction.
maxUnavailable:
rbac:
# rbac.create -- If true, create and use RBAC resources. Only valid for the "Agent" role.
create: true
# rbac.extraRules -- List of additional Kubernetes RBAC rules to append to the ClusterRole.
# Rules defined here are appended after the chart's standard rules.
# Each item must follow the Kubernetes ClusterRole rule syntax.
#
# Example:
# extraRules:
# - apiGroups: [""]
# resources: ["nodes/metrics", "nodes/stats"]
# verbs: ["get"]
extraRules: []
psp:
# psp.create -- If true, create a [PodSecurityPolicy](https://kubernetes.io/docs/concepts/security/pod-security-policy/)
# resource. PodSecurityPolicy is deprecated as of Kubernetes v1.21, and will be removed in v1.25. Intended for use
# with the "Agent" role.
create: false
serviceAccount:
# serviceAccount.create -- If true, create a ServiceAccount for Vector.
create: true
# serviceAccount.annotations -- Annotations to add to Vector's ServiceAccount.
annotations: {}
# serviceAccount.name -- The name of the ServiceAccount to use. If not set and serviceAccount.create is true, a name
# is generated using the fullname template.
name:
# serviceAccount.automountToken -- Automount API credentials for Vector's ServiceAccount.
automountToken: true
# podAnnotations -- Set annotations on Vector Pods.
podAnnotations: {}
# podLabels -- Set labels on Vector Pods.
podLabels:
vector.dev/exclude: "true"
# podPriorityClassName -- Set the [priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass)
# on Vector Pods.
podPriorityClassName: ""
# podHostNetwork -- Configure hostNetwork on Vector Pods.
podHostNetwork: false
# podSecurityContext -- Allows you to overwrite the default [PodSecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
# for Vector Pods.
podSecurityContext: {}
# workloadResourceAnnotations -- Set annotations on the Vector DaemonSet, Deployment or StatefulSet.
workloadResourceAnnotations: {}
# securityContext -- Specify securityContext on Vector containers.
securityContext: {}
# command -- Override Vector's default command.
command: []
# args -- Override Vector's default arguments.
args:
- --config-dir
- "/etc/vector/"
# env -- Set environment variables for Vector containers.
env: []
# - name: MY_VARIABLE
# valueFrom:
# secretKeyRef:
# name: vector
# key: my_variable
# - name: AWS_ACCESS_KEY_ID
# valueFrom:
# secretKeyRef:
# name: vector
# key: awsAccessKeyId
# envFrom -- Define environment variables from Secrets or ConfigMaps.
envFrom: []
# - secretRef:
# name: vector
# containerPorts -- Manually define Vector's containerPorts, overriding automated generation of containerPorts.
containerPorts: []
# resources -- Set Vector resource requests and limits.
resources: {}
# requests:
# cpu: 200m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 256Mi
# lifecycle -- Set lifecycle hooks for Vector containers.
lifecycle: {}
# preStop:
# exec:
# command:
# - /bin/sleep
# - "10"
# minReadySeconds -- Specify the minimum number of seconds a newly spun up pod should wait to
# pass healthchecks before it is considered available.
minReadySeconds: 0
# revisionHistoryLimit -- The number of historical changes to retain to allow rollback. Valid for all roles (Agent, Aggregator, Stateless-Aggregator).
# defaults to 10 if not set
# revisionHistoryLimit: 10
# updateStrategy -- Customize the updateStrategy used to replace Vector Pods, this is also used for the
# DeploymentStrategy for the "Stateless-Aggregators". Valid options depend on the chosen role.
# Agent (DaemonSetUpdateStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec)
# Aggregator (StatefulSetUpdateStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/#StatefulSetSpec
# Stateless-Aggregator (DeploymentStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/
updateStrategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxUnavailable: 1
# terminationGracePeriodSeconds -- Override Vector's terminationGracePeriodSeconds.
terminationGracePeriodSeconds: 60
# nodeSelector -- Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector)
# for Vector Pods.
nodeSelector: {}
# tolerations -- Configure Vector Pods to be scheduled on [tainted](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
# nodes.
tolerations: []
# affinity -- Configure [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
# rules for Vector Pods.
affinity: {}
# topologySpreadConstraints -- Configure [topology spread constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/)
# for Vector Pods. Valid for the "Aggregator" and "Stateless-Aggregator" roles.
topologySpreadConstraints: []
# Configuration for Vector's Service.
service:
# service.enabled -- If true, create and provide a Service resource for Vector.
enabled: true
# service.type -- Set the type for Vector's Service.
type: "ClusterIP"
# service.annotations -- Set annotations on Vector's Service.
annotations: {}
# service.topologyKeys -- Specify the [topologyKeys](https://kubernetes.io/docs/concepts/services-networking/service-topology/#using-service-topology)
# field on Vector's Service.
topologyKeys: []
# - "kubernetes.io/hostname"
# - "topology.kubernetes.io/zone"
# - "topology.kubernetes.io/region"
# - "*"
# service.ports -- Manually set the Service ports, overriding automated generation of Service ports.
ports: []
# service.externalTrafficPolicy -- Specify the [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip).
externalTrafficPolicy: ""
# service.internalTrafficPolicy -- Specify the [internalTrafficPolicy](https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy).
internalTrafficPolicy: ""
# service.loadBalancerIP -- Specify the [loadBalancerIP](https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer).
loadBalancerIP: ""
# service.ipFamilyPolicy -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/).
ipFamilyPolicy: ""
# service.ipFamilies -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/).
ipFamilies: []
# service.trafficDistribution -- Specify the [Traffic distribution](https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution)
# additional Topology Aware Routing may be informative. Specify the [Topology Aware Routing](https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/)
trafficDistribution: ""
# Configuration for Vector's Headless Service.
serviceHeadless:
# serviceHeadless.enabled -- If true, create and provide a Headless Service resource for Vector.
enabled: true
# Configuration for Vector's Ingress.
ingress:
# ingress.enabled -- If true, create and use an Ingress resource.
enabled: false
# ingress.className -- Specify the [ingressClassName](https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress),
# requires Kubernetes >= 1.18
className: ""
# ingress.annotations -- Set annotations on the Ingress.
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# ingress.hosts -- Configure the hosts and paths for the Ingress.
hosts: []
# - host: chart-example.local
# paths:
# - path: /
# pathType: ImplementationSpecific
# # Specify the port name or number on the Service
# # Using name requires Kubernetes >=1.19
# port:
# name: ""
# number: ""
# ingress.tls -- Configure TLS for the Ingress.
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# existingConfigMaps -- List of existing ConfigMaps for Vector's configuration instead of creating a new one. Requires
# dataDir to be set. Additionally, containerPorts, service.ports, and serviceHeadless.ports should be specified based on
# your supplied configuration. If set, this parameter takes precedence over customConfig and the chart's default configs.
# This parameter is not considered with configSidecar enabled. Ensure the correct label key (configSidecar.label) and
# value (configSidecar.labelValue) to load existing ConfigMaps with configSidecar enabled.
existingConfigMaps: []
# dataDir -- Specify the path for Vector's data, only used when existingConfigMaps are used.
dataDir: ""
# customConfig -- Override Vector's default configs, if used **all** options need to be specified. This section supports
# using helm templates to populate dynamic values. See Vector's [configuration documentation](https://vector.dev/docs/reference/configuration/)
# for all options.
customConfig: {}
# data_dir: /vector-data-dir
# api:
# enabled: true
# address: 127.0.0.1:8686
# sources:
# vector:
# address: 0.0.0.0:6000
# type: vector
# version: "2"
# sinks:
# stdout:
# type: console
# inputs: [vector]
# encoding:
# codec: json
# emptyConfig -- Provide an empty config directory. Requires args to include flag to allow empty config (https://vector.dev/docs/reference/cli/).
# If set, this parameter takes precedence over existingConfigMaps, customConfig and the chart's default configs.
emptyConfig: false
# configSidecar -- Sidecar container collects the configmaps with specified label and stores the included files into the respective folders.
# If existingConfigMaps parameter is used and configSidecar is enabled, ensure that the configmaps are marked with the appropriate label.
configSidecar:
# configSidecar.enabled -- If true, create and use a sidecar container to manage vector configuration.
enabled: false
# configSidecar.image -- Define the sidecar image to use.
image:
# configSidecar.image.registry -- Override default registry for the sidecar image.
registry: quay.io
# configSidecar.image.repository -- Override default repository and name for the sidecar image.
repository: kiwigrid/k8s-sidecar
# configSidecar.image.tag -- The tag to use for the sidecar image.
tag: "2.5.4"
# configSidecar.image.sha -- The SHA to use for the sidecar image.
sha: ""
# configSidecar.imagePullPolicy -- sidecar image pull policy.
imagePullPolicy: IfNotPresent
# configSidecar.label -- Label that the configmaps have to be marked with to be collected by the sidecar.
label: "vector-config"
# configSidecar.labelValue -- Value of the label that the configmaps are set to.
labelValue: "true"
# configSidecar.watchMethod -- Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
watchMethod: "WATCH"
# configSidecar.ignoreAlreadyProcessed -- If true, already processed ConfigMaps are ignored on subsequent runs.
ignoreAlreadyProcessed: false
# configSidecar.logLevel -- Log level for the sidecar container. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
logLevel: "INFO"
# configSidecar.uniqueFilenames -- If true, the sidecar will ensure that filenames are unique where duplicate data keys exist.
uniqueFilenames: false
# configSidecar.rbac -- RBAC settings for config sidecar
rbac:
# configSidecar.rbac.create -- Create Role and RoleBinding for config sidecar
create: true
# defaultVolumes -- Default volumes that are mounted into pods. In most cases, these should not be changed.
# Use `extraVolumes`/`extraVolumeMounts` for additional custom volumes.
# @default -- See `values.yaml`
defaultVolumes:
- name: var-log
hostPath:
path: "/var/log/"
- name: var-lib
hostPath:
path: "/var/lib/"
- name: procfs
hostPath:
path: "/proc"
- name: sysfs
hostPath:
path: "/sys"
# defaultVolumeMounts -- Default volume mounts. Corresponds to `volumes`.
# @default -- See `values.yaml`
defaultVolumeMounts:
- name: var-log
mountPath: "/var/log/"
readOnly: true
- name: var-lib
mountPath: "/var/lib"
readOnly: true
- name: procfs
mountPath: "/host/proc"
readOnly: true
- name: sysfs
mountPath: "/host/sys"
readOnly: true
# extraVolumes -- Additional Volumes to use with Vector Pods.
extraVolumes: []
# extraVolumeMounts -- Additional Volume to mount into Vector Containers.
extraVolumeMounts: []
# initContainers -- Init Containers to be added to the Vector Pods.
# This also supports template content, which will eventually be converted to yaml.
initContainers: []
# initContainers:
# - name: test
# image: busybox:latest
# command:
# - cp
# args:
# - /bin/sleep
# - /test/sleep
# volumeMounts:
# - name: test
# mountPath: /test
# extraContainers -- Extra Containers to be added to the Vector Pods.
# This also supports template content, which will eventually be converted to yaml.
extraContainers: []
# extraContainers:
# - name: test
# command:
# - cp
# args:
# - /bin/sleep
# - /test/sleep
# image: busybox:latest
# volumeMounts:
# - name: test
# mountPath: /test
# Configuration for Vector's data persistence.
persistence:
# persistence.enabled -- If true, create and use PersistentVolumeClaims.
enabled: false
# persistence.existingClaim -- Name of an existing PersistentVolumeClaim to use. Valid for the "Aggregator" role.
existingClaim: ""
# persistence.storageClassName -- Specifies the storageClassName for PersistentVolumeClaims. Valid for the
# "Aggregator" role.
# storageClassName: default
# persistence.retentionPolicy -- Configure a [PersistentVolumeClaimRetentionPolicy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention)
# for Vector's PersistentVolumeClaims. Valid for the "Aggregator" role.
retentionPolicy: {}
# whenDeleted: Retain
# whenScaled: Retain
# persistence.annotations -- Set annotations on the PersistentVolumeClaims created by the StatefulSet.
annotations: {}
# persistence.accessModes -- Specifies the accessModes for PersistentVolumeClaims. Valid for the "Aggregator" role.
accessModes:
- ReadWriteOnce
# persistence.size -- Specifies the size of PersistentVolumeClaims. Valid for the "Aggregator" role.
size: 10Gi
# persistence.finalizers -- Specifies the finalizers of PersistentVolumeClaims. Valid for the "Aggregator" role.
finalizers:
- kubernetes.io/pvc-protection
# persistence.selectors -- Specifies the selectors for PersistentVolumeClaims. Valid for the "Aggregator" role.
selectors: {}
hostPath:
# persistence.hostPath.enabled -- If true, use hostPath persistence. Valid for the "Agent" role, if it's disabled
# the "Agent" role will use emptyDir.
enabled: true
# persistence.hostPath.path -- Override path used for hostPath persistence. Valid for the "Agent" role, persistence
# is always used for the "Agent" role.
path: "/var/lib/vector"
# dnsPolicy -- Specify the [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy)
# for Vector Pods.
dnsPolicy: ClusterFirst
# dnsConfig -- Specify the [dnsConfig](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config)
# options for Vector Pods.
dnsConfig: {}
# nameservers:
# - 1.2.3.4
# searches:
# - ns1.svc.cluster-domain.example
# - my.dns.search.suffix
# options:
# - name: ndots
# value: "2"
# - name: edns0
# shareProcessNamespace -- Specify the [shareProcessNamespace](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)
# options for Vector Pods.
shareProcessNamespace: false
# livenessProbe -- Override default liveness probe settings. If customConfig is used, requires customConfig.api.enabled
# to be set to true. `grpc` is recommended once the cluster is on Vector 0.55+; the `httpGet /health` probe is kept
# for backwards compatibility with older Vector versions.
livenessProbe: {}
# Option 1: gRPC probe (uses grpc.health.v1.Health/Check, requires Vector 0.55+)
# grpc:
# port: 8686
#
# Option 2: HTTP probe
# httpGet:
# path: /health
# port: 8686
# readinessProbe -- Override default readiness probe settings. If not set, this chart applies an
# `httpGet /health` readinessProbe on port `8686` for chart-managed default configs. If customConfig is used,
# requires customConfig.api.enabled to be set to true. `grpc` is recommended once the cluster is on Vector 0.55+;
# the `httpGet /health` probe is kept for backwards compatibility with older Vector versions.
readinessProbe: {}
# Option 1: gRPC probe (uses grpc.health.v1.Health/Check, requires Vector 0.55+)
# grpc:
# port: 8686
#
# Option 2: HTTP probe
# httpGet:
# path: /health
# port: 8686
# startupProbe -- Override default startup probe settings. If customConfig is used,
# requires customConfig.api.enabled to be set to true. `grpc` is recommended once the cluster is on Vector 0.55+;
# the `httpGet /health` probe is kept for backwards compatibility with older Vector versions.
startupProbe: {}
# Option 1: gRPC probe (uses grpc.health.v1.Health/Check, requires Vector 0.55+)
# grpc:
# port: 8686
#
# Option 2: HTTP probe
# httpGet:
# path: /health
# port: 8686
# Configure a PodMonitor for Vector, requires the PodMonitor CRD to be installed.
podMonitor:
# podMonitor.enabled -- If true, create a PodMonitor for Vector.
enabled: false
# podMonitor.jobLabel -- Override the label to retrieve the job name from.
jobLabel: app.kubernetes.io/name
# podMonitor.port -- Override the port to scrape.
port: prom-exporter
# podMonitor.path -- Override the path to scrape.
path: /metrics
# podMonitor.interval -- Override the interval at which metrics should be scraped.
interval:
# podMonitor.scrapeTimeout -- Override the timeout after which the scrape is ended.
scrapeTimeout:
# podMonitor.relabelings -- [RelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config)
# to apply to samples before scraping.
relabelings: []
# podMonitor.metricRelabelings -- [MetricRelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs)
# to apply to samples before ingestion.
metricRelabelings: []
# podMonitor.podTargetLabels -- [podTargetLabels](https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1.PodMonitorSpec)
# transfers labels on the Kubernetes Pod onto the target.
podTargetLabels: []
# podMonitor.additionalLabels -- Adds additional labels to the PodMonitor.
additionalLabels: {}
# podMonitor.honorLabels -- If true, honor_labels is set to true in the [scrape config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config).
honorLabels: false
# podMonitor.honorTimestamps -- If true, honor_timestamps is set to true in the [scrape config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config).
honorTimestamps: true
# Log level for Vector.
logLevel: "info"
# Optional built-in HAProxy load balancer.
haproxy:
# haproxy.enabled -- If true, create a HAProxy load balancer.
enabled: false
# Define the HAProxy image to use.
image:
# haproxy.image.repository -- Override default registry and name for HAProxy.
repository: haproxytech/haproxy-alpine
# haproxy.image.pullPolicy -- HAProxy image pullPolicy.
pullPolicy: IfNotPresent
# haproxy.image.pullSecrets -- The [imagePullSecrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod)
# to reference for the HAProxy Pods.
pullSecrets: []
# haproxy.image.tag -- The tag to use for HAProxy's image.
tag: "2.6.12"
# haproxy.rollWorkload -- Add a checksum of the generated ConfigMap to the HAProxy Deployment.
rollWorkload: true
# haproxy.replicas -- Set the number of HAProxy Pods to create.
replicas: 1
serviceAccount:
# haproxy.serviceAccount.create -- If true, create a HAProxy ServiceAccount.
create: true
# haproxy.serviceAccount.annotations -- Annotations to add to the HAProxy ServiceAccount.
annotations: {}
# haproxy.serviceAccount.name -- The name of the HAProxy ServiceAccount to use. If not set and create is true, a
# name is generated using the fullname template.
name:
# haproxy.serviceAccount.automountToken -- Automount API credentials for the HAProxy ServiceAccount.
automountToken: true
# haproxy.strategy -- Customize the [strategy](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/)
# used to replace HAProxy Pods.
strategy: {}
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
# type: RollingUpdate
# haproxy.terminationGracePeriodSeconds -- Override HAProxy's terminationGracePeriodSeconds.
terminationGracePeriodSeconds: 60
# haproxy.podAnnotations -- Set annotations on HAProxy Pods.
podAnnotations: {}
# haproxy.podLabels -- Set labels on HAProxy Pods.
podLabels: {}
# haproxy.podPriorityClassName -- Set the priorityClassName on HAProxy Pods.
podPriorityClassName: ""
# haproxy.podSecurityContext -- Allows you to overwrite the default PodSecurityContext for HAProxy.
podSecurityContext: {}
# fsGroup: 2000
# haproxy.securityContext -- Specify securityContext on HAProxy containers.
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# haproxy.containerPorts -- Manually define HAProxy's containerPorts, overrides automated generation of containerPorts.
containerPorts: []
# HAProxy's Service configuration.
service:
# haproxy.service.type -- Set type of HAProxy's Service.
type: ClusterIP
# haproxy.service.annotations -- Set annotations on HAProxy's Service.
annotations: {}
# haproxy.service.topologyKeys -- Specify the [topologyKeys](https://kubernetes.io/docs/concepts/services-networking/service-topology/#using-service-topology)
# field on HAProxy's Service spec.
topologyKeys: []
# - "kubernetes.io/hostname"
# - "topology.kubernetes.io/zone"
# - "topology.kubernetes.io/region"
# - "*"
# haproxy.service.ports -- Manually set HAPRoxy's Service ports, overrides automated generation of Service ports.
ports: []
# haproxy.service.externalTrafficPolicy -- Specify the [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip).
externalTrafficPolicy: ""
# haproxy.service.loadBalancerIP -- Specify the [loadBalancerIP](https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer).
loadBalancerIP: ""
# haproxy.service.ipFamilyPolicy -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/).
ipFamilyPolicy: ""
# haproxy.service.ipFamilies -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/).
ipFamilies: []
# haproxy.existingConfigMap -- Use this existing ConfigMap for HAProxy's configuration instead of creating a new one.
# Additionally, haproxy.containerPorts and haproxy.service.ports should be specified based on your supplied
# configuration. If set, this parameter takes precedence over customConfig and the chart's default configs.
existingConfigMap: ""
# haproxy.customConfig -- Override HAProxy's default configs, if used **all** options need to be specified.
# This parameter supports using Helm templates to insert values dynamically. By default, this chart will parse
# Vector's configuration from customConfig to generate HAProxy's config, which can be overwritten with
# haproxy.customConfig.
customConfig: ""
# haproxy.extraVolumes -- Additional Volumes to use with HAProxy Pods.
extraVolumes: []
# haproxy.extraVolumeMounts -- Additional Volume to mount into HAProxy Containers.
extraVolumeMounts: []
# haproxy.initContainers -- Init Containers to be added to the HAProxy Pods.
# This also supports template content, which will eventually be converted to yaml.
initContainers: []
# haproxy.extraContainers -- Extra Containers to be added to the HAProxy Pods.
# This also supports template content, which will eventually be converted to yaml.
extraContainers: []
autoscaling:
# haproxy.autoscaling.enabled -- Create a HorizontalPodAutoscaler for HAProxy.
enabled: false
# haproxy.autoscaling.external -- HAProxy is controlled by an external HorizontalPodAutoscaler.
external: false
# haproxy.autoscaling.minReplicas -- Minimum replicas for HAProxy's HPA.
minReplicas: 1
# haproxy.autoscaling.maxReplicas -- Maximum replicas for HAProxy's HPA.
maxReplicas: 10
# haproxy.autoscaling.targetCPUUtilizationPercentage -- Target CPU utilization for HAProxy's HPA.
targetCPUUtilizationPercentage: 80
# haproxy.autoscaling.targetMemoryUtilizationPercentage -- (int) Target memory utilization for HAProxy's HPA.
targetMemoryUtilizationPercentage:
# haproxy.autoscaling.customMetric -- Target a custom metric for autoscaling.
customMetric: {}
# - type: Pods
# pods:
# metric:
# name: utilization
# target:
# type: AverageValue
# averageValue: 95
# haproxy.resources -- Set HAProxy resource requests and limits.
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# haproxy.livenessProbe -- Override default HAProxy liveness probe settings.
livenessProbe:
tcpSocket:
port: 1024
# haproxy.readinessProbe -- Override default HAProxy readiness probe settings.
readinessProbe:
tcpSocket:
port: 1024
# haproxy.nodeSelector -- Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector)
# for HAProxy Pods
nodeSelector: {}
# haproxy.tolerations -- Configure HAProxy Pods to be scheduled on [tainted](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
# nodes.
tolerations: []
# haproxy.affinity -- Configure [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
# rules for HAProxy Pods.
affinity: {}
# extraObjects -- Create extra manifests via values. Would be passed through `tpl` for templating.
extraObjects: []
# - apiVersion: v1
# kind: ConfigMap
# metadata:
# name: vector-dashboards
# labels:
# grafana_dashboard: "1"
# data:
# vector.json: |
# {{ .Files.Get "dashboards/vector.json" | fromJson | toJson }}