Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 1 | # Default values for Vector |
| 2 | # See Vector helm documentation to learn more: |
| 3 | # https://vector.dev/docs/setup/installation/package-managers/helm/ |
| 4 | |
| 5 | # nameOverride -- Override the name of resources. |
| 6 | nameOverride: "" |
| 7 | |
| 8 | # fullnameOverride -- Override the full name of resources. |
| 9 | fullnameOverride: "" |
| 10 | |
| 11 | # role -- [Role](https://vector.dev/docs/setup/deployment/roles/) for this Vector instance, valid options are: |
| 12 | # "Agent", "Aggregator", and "Stateless-Aggregator". |
| 13 | |
| 14 | # Each role is created with the following workloads: |
| 15 | # Agent = DaemonSet |
| 16 | # Aggregator = StatefulSet |
| 17 | # Stateless-Aggregator = Deployment |
| 18 | role: "Aggregator" |
| 19 | |
| 20 | # rollWorkload -- Add a checksum of the generated ConfigMap to workload annotations. |
| 21 | rollWorkload: true |
| 22 | |
| 23 | # commonLabels -- Add additional labels to all created resources. |
| 24 | commonLabels: {} |
| 25 | |
| 26 | # Define the Vector image to use. |
| 27 | image: |
| 28 | # image.repository -- Override default registry and name for Vector's image. |
| 29 | repository: timberio/vector |
| 30 | # image.pullPolicy -- The [pullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) for |
| 31 | # Vector's image. |
| 32 | pullPolicy: IfNotPresent |
| 33 | # image.pullSecrets -- The [imagePullSecrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) |
| 34 | # to reference for the Vector Pods. |
| 35 | pullSecrets: [] |
| 36 | # image.tag -- The tag to use for Vector's image. |
| 37 | # @default -- Derived from the Chart's appVersion. |
| 38 | tag: "" |
| 39 | # image.sha -- The SHA to use for Vector's image. |
| 40 | sha: "" |
| 41 | |
| 42 | # replicas -- Specify the number of Pods to create. Valid for the "Aggregator" and "Stateless-Aggregator" roles. |
| 43 | replicas: 1 |
| 44 | |
| 45 | # podManagementPolicy -- Specify the [podManagementPolicy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies) |
| 46 | # for the StatefulSet. Valid for the "Aggregator" role. |
| 47 | podManagementPolicy: OrderedReady |
| 48 | |
| 49 | # Create a Secret resource for Vector to use. |
| 50 | secrets: |
| 51 | # secrets.generic -- Each Key/Value will be added to the Secret's data key, each value should be raw and NOT base64 |
| 52 | # encoded. Any secrets can be provided here. It's commonly used for credentials and other access related values. |
| 53 | # **NOTE: Don't commit unencrypted secrets to git!** |
| 54 | generic: {} |
| 55 | # my_variable: "my-secret-value" |
| 56 | # datadog_api_key: "api-key" |
| 57 | # awsAccessKeyId: "access-key" |
| 58 | # awsSecretAccessKey: "secret-access-key" |
| 59 | |
| 60 | autoscaling: |
| 61 | # autoscaling.enabled -- Create a [HorizontalPodAutoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) |
| 62 | # for Vector. Valid for the "Aggregator" and "Stateless-Aggregator" roles. |
| 63 | enabled: false |
Mohammed Naser | 7d1623e | 2024-06-17 09:12:39 -0400 | [diff] [blame] | 64 | # autoscaling.external -- Set to `true` if using an external autoscaler like [KEDA](https://keda.sh/). |
| 65 | # Valid for the "Aggregator and "Stateless-Aggregator" roles. |
| 66 | external: false |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 67 | # autoscaling.annotations -- Annotations to add to Vector's HPA. |
| 68 | annotations: {} |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 69 | # autoscaling.minReplicas -- Minimum replicas for Vector's HPA. |
| 70 | minReplicas: 1 |
| 71 | # autoscaling.maxReplicas -- Maximum replicas for Vector's HPA. |
| 72 | maxReplicas: 10 |
| 73 | # autoscaling.targetCPUUtilizationPercentage -- Target CPU utilization for Vector's HPA. |
| 74 | targetCPUUtilizationPercentage: 80 |
| 75 | # autoscaling.targetMemoryUtilizationPercentage -- (int) Target memory utilization for Vector's HPA. |
| 76 | targetMemoryUtilizationPercentage: |
| 77 | # autoscaling.customMetric -- Target a custom metric for autoscaling. |
| 78 | customMetric: {} |
| 79 | # - type: Pods |
| 80 | # pods: |
| 81 | # metric: |
| 82 | # name: utilization |
| 83 | # target: |
| 84 | # type: AverageValue |
| 85 | # averageValue: 95 |
| 86 | # autoscaling.behavior -- Configure separate scale-up and scale-down behaviors. |
| 87 | behavior: {} |
| 88 | # scaleDown: |
| 89 | # stabilizationWindowSeconds: 300 |
| 90 | |
| 91 | podDisruptionBudget: |
| 92 | # podDisruptionBudget.enabled -- Enable a [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) |
| 93 | # for Vector. |
| 94 | enabled: false |
| 95 | # podDisruptionBudget.minAvailable -- The number of Pods that must still be available after an eviction. |
| 96 | minAvailable: 1 |
| 97 | # podDisruptionBudget.maxUnavailable -- (int) The number of Pods that can be unavailable after an eviction. |
| 98 | maxUnavailable: |
| 99 | |
| 100 | rbac: |
| 101 | # rbac.create -- If true, create and use RBAC resources. Only valid for the "Agent" role. |
| 102 | create: true |
| 103 | |
| 104 | psp: |
| 105 | # psp.create -- If true, create a [PodSecurityPolicy](https://kubernetes.io/docs/concepts/security/pod-security-policy/) |
| 106 | # resource. PodSecurityPolicy is deprecated as of Kubernetes v1.21, and will be removed in v1.25. Intended for use |
| 107 | # with the "Agent" role. |
| 108 | create: false |
| 109 | |
| 110 | serviceAccount: |
| 111 | # serviceAccount.create -- If true, create a ServiceAccount for Vector. |
| 112 | create: true |
| 113 | # serviceAccount.annotations -- Annotations to add to Vector's ServiceAccount. |
| 114 | annotations: {} |
| 115 | # serviceAccount.name -- The name of the ServiceAccount to use. If not set and serviceAccount.create is true, a name |
| 116 | # is generated using the fullname template. |
| 117 | name: |
| 118 | # serviceAccount.automountToken -- Automount API credentials for Vector's ServiceAccount. |
| 119 | automountToken: true |
| 120 | |
| 121 | # podAnnotations -- Set annotations on Vector Pods. |
| 122 | podAnnotations: {} |
| 123 | |
| 124 | # podLabels -- Set labels on Vector Pods. |
| 125 | podLabels: |
| 126 | vector.dev/exclude: "true" |
| 127 | |
| 128 | # podPriorityClassName -- Set the [priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass) |
| 129 | # on Vector Pods. |
| 130 | podPriorityClassName: "" |
| 131 | |
| 132 | # podHostNetwork -- Configure hostNetwork on Vector Pods. |
| 133 | podHostNetwork: false |
| 134 | |
| 135 | # podSecurityContext -- Allows you to overwrite the default [PodSecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| 136 | # for Vector Pods. |
| 137 | podSecurityContext: {} |
| 138 | |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 139 | # workloadResourceAnnotations -- Set annotations on the Vector DaemonSet, Deployment or StatefulSet. |
| 140 | workloadResourceAnnotations: {} |
| 141 | |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 142 | # securityContext -- Specify securityContext on Vector containers. |
| 143 | securityContext: {} |
| 144 | |
| 145 | # command -- Override Vector's default command. |
| 146 | command: [] |
| 147 | |
| 148 | # args -- Override Vector's default arguments. |
| 149 | args: |
| 150 | - --config-dir |
| 151 | - "/etc/vector/" |
| 152 | |
| 153 | # env -- Set environment variables for Vector containers. |
| 154 | env: [] |
| 155 | # - name: MY_VARIABLE |
| 156 | # valueFrom: |
| 157 | # secretKeyRef: |
| 158 | # name: vector |
| 159 | # key: my_variable |
| 160 | # - name: AWS_ACCESS_KEY_ID |
| 161 | # valueFrom: |
| 162 | # secretKeyRef: |
| 163 | # name: vector |
| 164 | # key: awsAccessKeyId |
| 165 | |
| 166 | # envFrom -- Define environment variables from Secrets or ConfigMaps. |
| 167 | envFrom: [] |
| 168 | # - secretRef: |
| 169 | # name: vector |
| 170 | |
| 171 | # containerPorts -- Manually define Vector's containerPorts, overriding automated generation of containerPorts. |
| 172 | containerPorts: [] |
| 173 | |
| 174 | # resources -- Set Vector resource requests and limits. |
| 175 | resources: {} |
| 176 | # requests: |
| 177 | # cpu: 200m |
| 178 | # memory: 256Mi |
| 179 | # limits: |
| 180 | # cpu: 200m |
| 181 | # memory: 256Mi |
| 182 | |
| 183 | # lifecycle -- Set lifecycle hooks for Vector containers. |
| 184 | lifecycle: {} |
| 185 | # preStop: |
| 186 | # exec: |
| 187 | # command: |
| 188 | # - /bin/sleep |
| 189 | # - "10" |
| 190 | |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 191 | |
| 192 | # minReadySeconds -- Specify the minimum number of seconds a newly spun up pod should wait to |
| 193 | # pass healthchecks before it is considered available. |
| 194 | minReadySeconds: 0 |
| 195 | |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 196 | # updateStrategy -- Customize the updateStrategy used to replace Vector Pods, this is also used for the |
| 197 | # DeploymentStrategy for the "Stateless-Aggregators". Valid options depend on the chosen role. |
| 198 | |
| 199 | # Agent (DaemonSetUpdateStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec) |
| 200 | # Aggregator (StatefulSetUpdateStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/#StatefulSetSpec |
| 201 | # Stateless-Aggregator (DeploymentStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/ |
| 202 | updateStrategy: {} |
| 203 | # type: RollingUpdate |
| 204 | # rollingUpdate: |
| 205 | # maxUnavailable: 1 |
| 206 | |
| 207 | # terminationGracePeriodSeconds -- Override Vector's terminationGracePeriodSeconds. |
| 208 | terminationGracePeriodSeconds: 60 |
| 209 | |
| 210 | # nodeSelector -- Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) |
| 211 | # for Vector Pods. |
| 212 | nodeSelector: {} |
| 213 | |
| 214 | # tolerations -- Configure Vector Pods to be scheduled on [tainted](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
| 215 | # nodes. |
| 216 | tolerations: [] |
| 217 | |
| 218 | # affinity -- Configure [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| 219 | # rules for Vector Pods. |
| 220 | affinity: {} |
| 221 | |
| 222 | # topologySpreadConstraints -- Configure [topology spread constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) |
| 223 | # for Vector Pods. Valid for the "Aggregator" and "Stateless-Aggregator" roles. |
| 224 | topologySpreadConstraints: [] |
| 225 | |
| 226 | # Configuration for Vector's Service. |
| 227 | service: |
| 228 | # service.enabled -- If true, create and provide a Service resource for Vector. |
| 229 | enabled: true |
| 230 | # service.type -- Set the type for Vector's Service. |
| 231 | type: "ClusterIP" |
| 232 | # service.annotations -- Set annotations on Vector's Service. |
| 233 | annotations: {} |
| 234 | # service.topologyKeys -- Specify the [topologyKeys](https://kubernetes.io/docs/concepts/services-networking/service-topology/#using-service-topology) |
| 235 | # field on Vector's Service. |
| 236 | topologyKeys: [] |
| 237 | # - "kubernetes.io/hostname" |
| 238 | # - "topology.kubernetes.io/zone" |
| 239 | # - "topology.kubernetes.io/region" |
| 240 | # - "*" |
| 241 | # service.ports -- Manually set the Service ports, overriding automated generation of Service ports. |
| 242 | ports: [] |
| 243 | # service.externalTrafficPolicy -- Specify the [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip). |
| 244 | externalTrafficPolicy: "" |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 245 | # service.internalTrafficPolicy -- Specify the [internalTrafficPolicy]https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy). |
| 246 | internalTrafficPolicy: "" |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 247 | # service.loadBalancerIP -- Specify the [loadBalancerIP](https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer). |
| 248 | loadBalancerIP: "" |
| 249 | # service.ipFamilyPolicy -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 250 | ipFamilyPolicy: "" |
| 251 | # service.ipFamilies -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 252 | ipFamilies: [] |
| 253 | |
| 254 | # Configuration for Vector's Headless Service. |
| 255 | serviceHeadless: |
| 256 | # serviceHeadless.enabled -- If true, create and provide a Headless Service resource for Vector. |
| 257 | enabled: true |
| 258 | |
| 259 | # Configuration for Vector's Ingress. |
| 260 | ingress: |
| 261 | # ingress.enabled -- If true, create and use an Ingress resource. |
| 262 | enabled: false |
| 263 | # 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), |
| 264 | # requires Kubernetes >= 1.18 |
| 265 | className: "" |
| 266 | # ingress.annotations -- Set annotations on the Ingress. |
| 267 | annotations: {} |
| 268 | # kubernetes.io/ingress.class: nginx |
| 269 | # kubernetes.io/tls-acme: "true" |
| 270 | # ingress.hosts -- Configure the hosts and paths for the Ingress. |
| 271 | hosts: [] |
| 272 | # - host: chart-example.local |
| 273 | # paths: |
| 274 | # - path: / |
| 275 | # pathType: ImplementationSpecific |
| 276 | # # Specify the port name or number on the Service |
| 277 | # # Using name requires Kubernetes >=1.19 |
| 278 | # port: |
| 279 | # name: "" |
| 280 | # number: "" |
| 281 | # ingress.tls -- Configure TLS for the Ingress. |
| 282 | tls: [] |
| 283 | # - secretName: chart-example-tls |
| 284 | # hosts: |
| 285 | # - chart-example.local |
| 286 | |
| 287 | # existingConfigMaps -- List of existing ConfigMaps for Vector's configuration instead of creating a new one. Requires |
| 288 | # dataDir to be set. Additionally, containerPorts, service.ports, and serviceHeadless.ports should be specified based on |
| 289 | # your supplied configuration. If set, this parameter takes precedence over customConfig and the chart's default configs. |
| 290 | existingConfigMaps: [] |
| 291 | |
| 292 | # dataDir -- Specify the path for Vector's data, only used when existingConfigMaps are used. |
| 293 | dataDir: "" |
| 294 | |
| 295 | # customConfig -- Override Vector's default configs, if used **all** options need to be specified. This section supports |
| 296 | # using helm templates to populate dynamic values. See Vector's [configuration documentation](https://vector.dev/docs/reference/configuration/) |
| 297 | # for all options. |
| 298 | customConfig: {} |
| 299 | # data_dir: /vector-data-dir |
| 300 | # api: |
| 301 | # enabled: true |
| 302 | # address: 127.0.0.1:8686 |
| 303 | # playground: false |
| 304 | # sources: |
| 305 | # vector: |
| 306 | # address: 0.0.0.0:6000 |
| 307 | # type: vector |
| 308 | # version: "2" |
| 309 | # sinks: |
| 310 | # stdout: |
| 311 | # type: console |
| 312 | # inputs: [vector] |
| 313 | # encoding: |
| 314 | # codec: json |
| 315 | |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 316 | # defaultVolumes -- Default volumes that are mounted into pods. In most cases, these should not be changed. |
| 317 | # Use `extraVolumes`/`extraVolumeMounts` for additional custom volumes. |
| 318 | # @default -- See `values.yaml` |
| 319 | defaultVolumes: |
| 320 | - name: var-log |
| 321 | hostPath: |
| 322 | path: "/var/log/" |
| 323 | - name: var-lib |
| 324 | hostPath: |
| 325 | path: "/var/lib/" |
| 326 | - name: procfs |
| 327 | hostPath: |
| 328 | path: "/proc" |
| 329 | - name: sysfs |
| 330 | hostPath: |
| 331 | path: "/sys" |
| 332 | |
| 333 | # defaultVolumeMounts -- Default volume mounts. Corresponds to `volumes`. |
| 334 | # @default -- See `values.yaml` |
| 335 | defaultVolumeMounts: |
| 336 | - name: var-log |
| 337 | mountPath: "/var/log/" |
| 338 | readOnly: true |
| 339 | - name: var-lib |
| 340 | mountPath: "/var/lib" |
| 341 | readOnly: true |
| 342 | - name: procfs |
| 343 | mountPath: "/host/proc" |
| 344 | readOnly: true |
| 345 | - name: sysfs |
| 346 | mountPath: "/host/sys" |
| 347 | readOnly: true |
| 348 | |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 349 | # extraVolumes -- Additional Volumes to use with Vector Pods. |
| 350 | extraVolumes: [] |
| 351 | |
| 352 | # extraVolumeMounts -- Additional Volume to mount into Vector Containers. |
| 353 | extraVolumeMounts: [] |
| 354 | |
| 355 | # initContainers -- Init Containers to be added to the Vector Pods. |
| 356 | initContainers: [] |
| 357 | |
| 358 | # extraContainers -- Extra Containers to be added to the Vector Pods. |
| 359 | extraContainers: [] |
| 360 | |
| 361 | # Configuration for Vector's data persistence. |
| 362 | persistence: |
| 363 | # persistence.enabled -- If true, create and use PersistentVolumeClaims. |
| 364 | enabled: false |
| 365 | # persistence.existingClaim -- Name of an existing PersistentVolumeClaim to use. Valid for the "Aggregator" role. |
| 366 | existingClaim: "" |
| 367 | # persistence.storageClassName -- Specifies the storageClassName for PersistentVolumeClaims. Valid for the |
| 368 | # "Aggregator" role. |
| 369 | # storageClassName: default |
| 370 | |
| 371 | # persistence.accessModes -- Specifies the accessModes for PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 372 | accessModes: |
| 373 | - ReadWriteOnce |
| 374 | # persistence.size -- Specifies the size of PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 375 | size: 10Gi |
| 376 | # persistence.finalizers -- Specifies the finalizers of PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 377 | finalizers: |
| 378 | - kubernetes.io/pvc-protection |
| 379 | # persistence.selectors -- Specifies the selectors for PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 380 | selectors: {} |
| 381 | |
| 382 | hostPath: |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 383 | # persistence.hostPath.enabled -- If true, use hostPath persistence. Valid for the "Agent" role, if it's disabled |
| 384 | # the "Agent" role will use emptyDir. |
| 385 | enabled: true |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 386 | # persistence.hostPath.path -- Override path used for hostPath persistence. Valid for the "Agent" role, persistence |
| 387 | # is always used for the "Agent" role. |
| 388 | path: "/var/lib/vector" |
| 389 | |
| 390 | # dnsPolicy -- Specify the [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) |
| 391 | # for Vector Pods. |
| 392 | dnsPolicy: ClusterFirst |
| 393 | |
| 394 | # dnsConfig -- Specify the [dnsConfig](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config) |
| 395 | # options for Vector Pods. |
| 396 | dnsConfig: {} |
| 397 | # nameservers: |
| 398 | # - 1.2.3.4 |
| 399 | # searches: |
| 400 | # - ns1.svc.cluster-domain.example |
| 401 | # - my.dns.search.suffix |
| 402 | # options: |
| 403 | # - name: ndots |
| 404 | # value: "2" |
| 405 | # - name: edns0 |
| 406 | |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 407 | # shareProcessNamespace -- Specify the [shareProcessNamespace](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/) |
| 408 | # options for Vector Pods. |
| 409 | shareProcessNamespace: false |
| 410 | |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 411 | # livenessProbe -- Override default liveness probe settings. If customConfig is used, requires customConfig.api.enabled |
| 412 | # to be set to true. |
| 413 | livenessProbe: {} |
| 414 | # httpGet: |
| 415 | # path: /health |
| 416 | # port: api |
| 417 | |
| 418 | # readinessProbe -- Override default readiness probe settings. If customConfig is used, |
| 419 | # requires customConfig.api.enabled to be set to true. |
| 420 | readinessProbe: {} |
| 421 | # httpGet: |
| 422 | # path: /health |
| 423 | # port: api |
| 424 | |
| 425 | # Configure a PodMonitor for Vector, requires the PodMonitor CRD to be installed. |
| 426 | podMonitor: |
| 427 | # podMonitor.enabled -- If true, create a PodMonitor for Vector. |
| 428 | enabled: false |
| 429 | # podMonitor.jobLabel -- Override the label to retrieve the job name from. |
| 430 | jobLabel: app.kubernetes.io/name |
| 431 | # podMonitor.port -- Override the port to scrape. |
| 432 | port: prom-exporter |
| 433 | # podMonitor.path -- Override the path to scrape. |
| 434 | path: /metrics |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 435 | # podMonitor.interval -- Override the interval at which metrics should be scraped. |
| 436 | interval: |
| 437 | # podMonitor.scrapeTimeout -- Override the timeout after which the scrape is ended. |
| 438 | scrapeTimeout: |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 439 | # podMonitor.relabelings -- [RelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config) |
| 440 | # to apply to samples before scraping. |
| 441 | relabelings: [] |
| 442 | # podMonitor.metricRelabelings -- [MetricRelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs) |
| 443 | # to apply to samples before ingestion. |
| 444 | metricRelabelings: [] |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 445 | # podMonitor.podTargetLabels -- [podTargetLabels](https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1.PodMonitorSpec) |
| 446 | # transfers labels on the Kubernetes Pod onto the target. |
| 447 | podTargetLabels: [] |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 448 | # podMonitor.additionalLabels -- Adds additional labels to the PodMonitor. |
| 449 | additionalLabels: {} |
| 450 | # podMonitor.honorLabels -- If true, honor_labels is set to true in the [scrape config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config). |
| 451 | honorLabels: false |
| 452 | # podMonitor.honorTimestamps -- If true, honor_timestamps is set to true in the [scrape config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config). |
| 453 | honorTimestamps: true |
| 454 | |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 455 | # Log level for Vector. |
| 456 | logLevel: "info" |
| 457 | |
| 458 | # Optional built-in HAProxy load balancer. |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 459 | haproxy: |
| 460 | # haproxy.enabled -- If true, create a HAProxy load balancer. |
| 461 | enabled: false |
| 462 | |
| 463 | # Define the HAProxy image to use. |
| 464 | image: |
| 465 | # haproxy.image.repository -- Override default registry and name for HAProxy. |
| 466 | repository: haproxytech/haproxy-alpine |
| 467 | # haproxy.image.pullPolicy -- HAProxy image pullPolicy. |
| 468 | pullPolicy: IfNotPresent |
| 469 | # haproxy.image.pullSecrets -- The [imagePullSecrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) |
| 470 | # to reference for the HAProxy Pods. |
| 471 | pullSecrets: [] |
| 472 | # haproxy.image.tag -- The tag to use for HAProxy's image. |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 473 | tag: "2.6.12" |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 474 | |
| 475 | # haproxy.rollWorkload -- Add a checksum of the generated ConfigMap to the HAProxy Deployment. |
| 476 | rollWorkload: true |
| 477 | |
| 478 | # haproxy.replicas -- Set the number of HAProxy Pods to create. |
| 479 | replicas: 1 |
| 480 | |
| 481 | serviceAccount: |
| 482 | # haproxy.serviceAccount.create -- If true, create a HAProxy ServiceAccount. |
| 483 | create: true |
| 484 | # haproxy.serviceAccount.annotations -- Annotations to add to the HAProxy ServiceAccount. |
| 485 | annotations: {} |
| 486 | # haproxy.serviceAccount.name -- The name of the HAProxy ServiceAccount to use. If not set and create is true, a |
| 487 | # name is generated using the fullname template. |
| 488 | name: |
| 489 | # haproxy.serviceAccount.automountToken -- Automount API credentials for the HAProxy ServiceAccount. |
| 490 | automountToken: true |
| 491 | |
| 492 | # haproxy.strategy -- Customize the [strategy](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/) |
| 493 | # used to replace HAProxy Pods. |
| 494 | strategy: {} |
| 495 | # rollingUpdate: |
| 496 | # maxSurge: 25% |
| 497 | # maxUnavailable: 25% |
| 498 | # type: RollingUpdate |
| 499 | |
| 500 | # haproxy.terminationGracePeriodSeconds -- Override HAProxy's terminationGracePeriodSeconds. |
| 501 | terminationGracePeriodSeconds: 60 |
| 502 | |
| 503 | # haproxy.podAnnotations -- Set annotations on HAProxy Pods. |
| 504 | podAnnotations: {} |
| 505 | |
| 506 | # haproxy.podLabels -- Set labels on HAProxy Pods. |
| 507 | podLabels: {} |
| 508 | |
| 509 | # haproxy.podPriorityClassName -- Set the priorityClassName on HAProxy Pods. |
| 510 | podPriorityClassName: "" |
| 511 | |
| 512 | # haproxy.podSecurityContext -- Allows you to overwrite the default PodSecurityContext for HAProxy. |
| 513 | podSecurityContext: {} |
| 514 | # fsGroup: 2000 |
| 515 | |
| 516 | # haproxy.securityContext -- Specify securityContext on HAProxy containers. |
| 517 | securityContext: {} |
| 518 | # capabilities: |
| 519 | # drop: |
| 520 | # - ALL |
| 521 | # readOnlyRootFilesystem: true |
| 522 | # runAsNonRoot: true |
| 523 | # runAsUser: 1000 |
| 524 | |
| 525 | # haproxy.containerPorts -- Manually define HAProxy's containerPorts, overrides automated generation of containerPorts. |
| 526 | containerPorts: [] |
| 527 | |
| 528 | # HAProxy's Service configuration. |
| 529 | service: |
| 530 | # haproxy.service.type -- Set type of HAProxy's Service. |
| 531 | type: ClusterIP |
| 532 | # haproxy.service.annotations -- Set annotations on HAProxy's Service. |
| 533 | annotations: {} |
| 534 | # haproxy.service.topologyKeys -- Specify the [topologyKeys](https://kubernetes.io/docs/concepts/services-networking/service-topology/#using-service-topology) |
| 535 | # field on HAProxy's Service spec. |
| 536 | topologyKeys: [] |
| 537 | # - "kubernetes.io/hostname" |
| 538 | # - "topology.kubernetes.io/zone" |
| 539 | # - "topology.kubernetes.io/region" |
| 540 | # - "*" |
| 541 | # haproxy.service.ports -- Manually set HAPRoxy's Service ports, overrides automated generation of Service ports. |
| 542 | ports: [] |
| 543 | # haproxy.service.externalTrafficPolicy -- Specify the [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip). |
| 544 | externalTrafficPolicy: "" |
| 545 | # haproxy.service.loadBalancerIP -- Specify the [loadBalancerIP](https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer). |
| 546 | loadBalancerIP: "" |
| 547 | # haproxy.service.ipFamilyPolicy -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 548 | ipFamilyPolicy: "" |
| 549 | # haproxy.service.ipFamilies -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 550 | ipFamilies: [] |
| 551 | |
| 552 | # haproxy.existingConfigMap -- Use this existing ConfigMap for HAProxy's configuration instead of creating a new one. |
| 553 | # Additionally, haproxy.containerPorts and haproxy.service.ports should be specified based on your supplied |
| 554 | # configuration. If set, this parameter takes precedence over customConfig and the chart's default configs. |
| 555 | existingConfigMap: "" |
| 556 | |
| 557 | # haproxy.customConfig -- Override HAProxy's default configs, if used **all** options need to be specified. |
| 558 | # This parameter supports using Helm templates to insert values dynamically. By default, this chart will parse |
| 559 | # Vector's configuration from customConfig to generate HAProxy's config, which can be overwritten with |
| 560 | # haproxy.customConfig. |
| 561 | customConfig: "" |
| 562 | |
| 563 | # haproxy.extraVolumes -- Additional Volumes to use with HAProxy Pods. |
| 564 | extraVolumes: [] |
| 565 | |
| 566 | # haproxy.extraVolumeMounts -- Additional Volume to mount into HAProxy Containers. |
| 567 | extraVolumeMounts: [] |
| 568 | |
| 569 | # haproxy.initContainers -- Init Containers to be added to the HAProxy Pods. |
| 570 | initContainers: [] |
| 571 | |
| 572 | # haproxy.extraContainers -- Extra Containers to be added to the HAProxy Pods. |
| 573 | extraContainers: [] |
| 574 | |
| 575 | autoscaling: |
| 576 | # haproxy.autoscaling.enabled -- Create a HorizontalPodAutoscaler for HAProxy. |
| 577 | enabled: false |
Mohammed Naser | 7d1623e | 2024-06-17 09:12:39 -0400 | [diff] [blame] | 578 | # haproxy.autoscaling.external -- HAProxy is controlled by an external HorizontalPodAutoscaler. |
| 579 | external: false |
Mohammed Naser | 8a2c8fb | 2023-02-19 17:23:55 +0000 | [diff] [blame] | 580 | # haproxy.autoscaling.minReplicas -- Minimum replicas for HAProxy's HPA. |
| 581 | minReplicas: 1 |
| 582 | # haproxy.autoscaling.maxReplicas -- Maximum replicas for HAProxy's HPA. |
| 583 | maxReplicas: 10 |
| 584 | # haproxy.autoscaling.targetCPUUtilizationPercentage -- Target CPU utilization for HAProxy's HPA. |
| 585 | targetCPUUtilizationPercentage: 80 |
| 586 | # haproxy.autoscaling.targetMemoryUtilizationPercentage -- (int) Target memory utilization for HAProxy's HPA. |
| 587 | targetMemoryUtilizationPercentage: |
| 588 | # haproxy.autoscaling.customMetric -- Target a custom metric for autoscaling. |
| 589 | customMetric: {} |
| 590 | # - type: Pods |
| 591 | # pods: |
| 592 | # metric: |
| 593 | # name: utilization |
| 594 | # target: |
| 595 | # type: AverageValue |
| 596 | # averageValue: 95 |
| 597 | |
| 598 | # haproxy.resources -- Set HAProxy resource requests and limits. |
| 599 | resources: {} |
| 600 | # limits: |
| 601 | # cpu: 100m |
| 602 | # memory: 128Mi |
| 603 | # requests: |
| 604 | # cpu: 100m |
| 605 | # memory: 128Mi |
| 606 | |
| 607 | # haproxy.livenessProbe -- Override default HAProxy liveness probe settings. |
| 608 | livenessProbe: |
| 609 | tcpSocket: |
| 610 | port: 1024 |
| 611 | |
| 612 | # haproxy.readinessProbe -- Override default HAProxy readiness probe settings. |
| 613 | readinessProbe: |
| 614 | tcpSocket: |
| 615 | port: 1024 |
| 616 | |
| 617 | # haproxy.nodeSelector -- Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) |
| 618 | # for HAProxy Pods |
| 619 | nodeSelector: {} |
| 620 | |
| 621 | # haproxy.tolerations -- Configure HAProxy Pods to be scheduled on [tainted](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
| 622 | # nodes. |
| 623 | tolerations: [] |
| 624 | |
| 625 | # haproxy.affinity -- Configure [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| 626 | # rules for HAProxy Pods. |
| 627 | affinity: {} |
Giovanni Tirloni | 59219b6 | 2024-04-09 14:50:25 -0300 | [diff] [blame] | 628 | |
| 629 | # extraObjects -- Create extra manifests via values. Would be passed through `tpl` for templating. |
| 630 | extraObjects: [] |
| 631 | # - apiVersion: v1 |
| 632 | # kind: ConfigMap |
| 633 | # metadata: |
| 634 | # name: vector-dashboards |
| 635 | # labels: |
| 636 | # grafana_dashboard: "1" |
| 637 | # data: |
| 638 | # vector.json: | |
| 639 | # {{ .Files.Get "dashboards/vector.json" | fromJson | toJson }} |