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 |
| 64 | # autoscaling.minReplicas -- Minimum replicas for Vector's HPA. |
| 65 | minReplicas: 1 |
| 66 | # autoscaling.maxReplicas -- Maximum replicas for Vector's HPA. |
| 67 | maxReplicas: 10 |
| 68 | # autoscaling.targetCPUUtilizationPercentage -- Target CPU utilization for Vector's HPA. |
| 69 | targetCPUUtilizationPercentage: 80 |
| 70 | # autoscaling.targetMemoryUtilizationPercentage -- (int) Target memory utilization for Vector's HPA. |
| 71 | targetMemoryUtilizationPercentage: |
| 72 | # autoscaling.customMetric -- Target a custom metric for autoscaling. |
| 73 | customMetric: {} |
| 74 | # - type: Pods |
| 75 | # pods: |
| 76 | # metric: |
| 77 | # name: utilization |
| 78 | # target: |
| 79 | # type: AverageValue |
| 80 | # averageValue: 95 |
| 81 | # autoscaling.behavior -- Configure separate scale-up and scale-down behaviors. |
| 82 | behavior: {} |
| 83 | # scaleDown: |
| 84 | # stabilizationWindowSeconds: 300 |
| 85 | |
| 86 | podDisruptionBudget: |
| 87 | # podDisruptionBudget.enabled -- Enable a [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) |
| 88 | # for Vector. |
| 89 | enabled: false |
| 90 | # podDisruptionBudget.minAvailable -- The number of Pods that must still be available after an eviction. |
| 91 | minAvailable: 1 |
| 92 | # podDisruptionBudget.maxUnavailable -- (int) The number of Pods that can be unavailable after an eviction. |
| 93 | maxUnavailable: |
| 94 | |
| 95 | rbac: |
| 96 | # rbac.create -- If true, create and use RBAC resources. Only valid for the "Agent" role. |
| 97 | create: true |
| 98 | |
| 99 | psp: |
| 100 | # psp.create -- If true, create a [PodSecurityPolicy](https://kubernetes.io/docs/concepts/security/pod-security-policy/) |
| 101 | # resource. PodSecurityPolicy is deprecated as of Kubernetes v1.21, and will be removed in v1.25. Intended for use |
| 102 | # with the "Agent" role. |
| 103 | create: false |
| 104 | |
| 105 | serviceAccount: |
| 106 | # serviceAccount.create -- If true, create a ServiceAccount for Vector. |
| 107 | create: true |
| 108 | # serviceAccount.annotations -- Annotations to add to Vector's ServiceAccount. |
| 109 | annotations: {} |
| 110 | # serviceAccount.name -- The name of the ServiceAccount to use. If not set and serviceAccount.create is true, a name |
| 111 | # is generated using the fullname template. |
| 112 | name: |
| 113 | # serviceAccount.automountToken -- Automount API credentials for Vector's ServiceAccount. |
| 114 | automountToken: true |
| 115 | |
| 116 | # podAnnotations -- Set annotations on Vector Pods. |
| 117 | podAnnotations: {} |
| 118 | |
| 119 | # podLabels -- Set labels on Vector Pods. |
| 120 | podLabels: |
| 121 | vector.dev/exclude: "true" |
| 122 | |
| 123 | # podPriorityClassName -- Set the [priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass) |
| 124 | # on Vector Pods. |
| 125 | podPriorityClassName: "" |
| 126 | |
| 127 | # podHostNetwork -- Configure hostNetwork on Vector Pods. |
| 128 | podHostNetwork: false |
| 129 | |
| 130 | # podSecurityContext -- Allows you to overwrite the default [PodSecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| 131 | # for Vector Pods. |
| 132 | podSecurityContext: {} |
| 133 | |
| 134 | # securityContext -- Specify securityContext on Vector containers. |
| 135 | securityContext: {} |
| 136 | |
| 137 | # command -- Override Vector's default command. |
| 138 | command: [] |
| 139 | |
| 140 | # args -- Override Vector's default arguments. |
| 141 | args: |
| 142 | - --config-dir |
| 143 | - "/etc/vector/" |
| 144 | |
| 145 | # env -- Set environment variables for Vector containers. |
| 146 | env: [] |
| 147 | # - name: MY_VARIABLE |
| 148 | # valueFrom: |
| 149 | # secretKeyRef: |
| 150 | # name: vector |
| 151 | # key: my_variable |
| 152 | # - name: AWS_ACCESS_KEY_ID |
| 153 | # valueFrom: |
| 154 | # secretKeyRef: |
| 155 | # name: vector |
| 156 | # key: awsAccessKeyId |
| 157 | |
| 158 | # envFrom -- Define environment variables from Secrets or ConfigMaps. |
| 159 | envFrom: [] |
| 160 | # - secretRef: |
| 161 | # name: vector |
| 162 | |
| 163 | # containerPorts -- Manually define Vector's containerPorts, overriding automated generation of containerPorts. |
| 164 | containerPorts: [] |
| 165 | |
| 166 | # resources -- Set Vector resource requests and limits. |
| 167 | resources: {} |
| 168 | # requests: |
| 169 | # cpu: 200m |
| 170 | # memory: 256Mi |
| 171 | # limits: |
| 172 | # cpu: 200m |
| 173 | # memory: 256Mi |
| 174 | |
| 175 | # lifecycle -- Set lifecycle hooks for Vector containers. |
| 176 | lifecycle: {} |
| 177 | # preStop: |
| 178 | # exec: |
| 179 | # command: |
| 180 | # - /bin/sleep |
| 181 | # - "10" |
| 182 | |
| 183 | # updateStrategy -- Customize the updateStrategy used to replace Vector Pods, this is also used for the |
| 184 | # DeploymentStrategy for the "Stateless-Aggregators". Valid options depend on the chosen role. |
| 185 | |
| 186 | # Agent (DaemonSetUpdateStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec) |
| 187 | # Aggregator (StatefulSetUpdateStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/#StatefulSetSpec |
| 188 | # Stateless-Aggregator (DeploymentStrategy): https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/ |
| 189 | updateStrategy: {} |
| 190 | # type: RollingUpdate |
| 191 | # rollingUpdate: |
| 192 | # maxUnavailable: 1 |
| 193 | |
| 194 | # terminationGracePeriodSeconds -- Override Vector's terminationGracePeriodSeconds. |
| 195 | terminationGracePeriodSeconds: 60 |
| 196 | |
| 197 | # nodeSelector -- Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) |
| 198 | # for Vector Pods. |
| 199 | nodeSelector: {} |
| 200 | |
| 201 | # tolerations -- Configure Vector Pods to be scheduled on [tainted](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
| 202 | # nodes. |
| 203 | tolerations: [] |
| 204 | |
| 205 | # affinity -- Configure [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| 206 | # rules for Vector Pods. |
| 207 | affinity: {} |
| 208 | |
| 209 | # topologySpreadConstraints -- Configure [topology spread constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) |
| 210 | # for Vector Pods. Valid for the "Aggregator" and "Stateless-Aggregator" roles. |
| 211 | topologySpreadConstraints: [] |
| 212 | |
| 213 | # Configuration for Vector's Service. |
| 214 | service: |
| 215 | # service.enabled -- If true, create and provide a Service resource for Vector. |
| 216 | enabled: true |
| 217 | # service.type -- Set the type for Vector's Service. |
| 218 | type: "ClusterIP" |
| 219 | # service.annotations -- Set annotations on Vector's Service. |
| 220 | annotations: {} |
| 221 | # service.topologyKeys -- Specify the [topologyKeys](https://kubernetes.io/docs/concepts/services-networking/service-topology/#using-service-topology) |
| 222 | # field on Vector's Service. |
| 223 | topologyKeys: [] |
| 224 | # - "kubernetes.io/hostname" |
| 225 | # - "topology.kubernetes.io/zone" |
| 226 | # - "topology.kubernetes.io/region" |
| 227 | # - "*" |
| 228 | # service.ports -- Manually set the Service ports, overriding automated generation of Service ports. |
| 229 | ports: [] |
| 230 | # service.externalTrafficPolicy -- Specify the [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip). |
| 231 | externalTrafficPolicy: "" |
| 232 | # service.loadBalancerIP -- Specify the [loadBalancerIP](https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer). |
| 233 | loadBalancerIP: "" |
| 234 | # service.ipFamilyPolicy -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 235 | ipFamilyPolicy: "" |
| 236 | # service.ipFamilies -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 237 | ipFamilies: [] |
| 238 | |
| 239 | # Configuration for Vector's Headless Service. |
| 240 | serviceHeadless: |
| 241 | # serviceHeadless.enabled -- If true, create and provide a Headless Service resource for Vector. |
| 242 | enabled: true |
| 243 | |
| 244 | # Configuration for Vector's Ingress. |
| 245 | ingress: |
| 246 | # ingress.enabled -- If true, create and use an Ingress resource. |
| 247 | enabled: false |
| 248 | # 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), |
| 249 | # requires Kubernetes >= 1.18 |
| 250 | className: "" |
| 251 | # ingress.annotations -- Set annotations on the Ingress. |
| 252 | annotations: {} |
| 253 | # kubernetes.io/ingress.class: nginx |
| 254 | # kubernetes.io/tls-acme: "true" |
| 255 | # ingress.hosts -- Configure the hosts and paths for the Ingress. |
| 256 | hosts: [] |
| 257 | # - host: chart-example.local |
| 258 | # paths: |
| 259 | # - path: / |
| 260 | # pathType: ImplementationSpecific |
| 261 | # # Specify the port name or number on the Service |
| 262 | # # Using name requires Kubernetes >=1.19 |
| 263 | # port: |
| 264 | # name: "" |
| 265 | # number: "" |
| 266 | # ingress.tls -- Configure TLS for the Ingress. |
| 267 | tls: [] |
| 268 | # - secretName: chart-example-tls |
| 269 | # hosts: |
| 270 | # - chart-example.local |
| 271 | |
| 272 | # existingConfigMaps -- List of existing ConfigMaps for Vector's configuration instead of creating a new one. Requires |
| 273 | # dataDir to be set. Additionally, containerPorts, service.ports, and serviceHeadless.ports should be specified based on |
| 274 | # your supplied configuration. If set, this parameter takes precedence over customConfig and the chart's default configs. |
| 275 | existingConfigMaps: [] |
| 276 | |
| 277 | # dataDir -- Specify the path for Vector's data, only used when existingConfigMaps are used. |
| 278 | dataDir: "" |
| 279 | |
| 280 | # customConfig -- Override Vector's default configs, if used **all** options need to be specified. This section supports |
| 281 | # using helm templates to populate dynamic values. See Vector's [configuration documentation](https://vector.dev/docs/reference/configuration/) |
| 282 | # for all options. |
| 283 | customConfig: {} |
| 284 | # data_dir: /vector-data-dir |
| 285 | # api: |
| 286 | # enabled: true |
| 287 | # address: 127.0.0.1:8686 |
| 288 | # playground: false |
| 289 | # sources: |
| 290 | # vector: |
| 291 | # address: 0.0.0.0:6000 |
| 292 | # type: vector |
| 293 | # version: "2" |
| 294 | # sinks: |
| 295 | # stdout: |
| 296 | # type: console |
| 297 | # inputs: [vector] |
| 298 | # encoding: |
| 299 | # codec: json |
| 300 | |
| 301 | # extraVolumes -- Additional Volumes to use with Vector Pods. |
| 302 | extraVolumes: [] |
| 303 | |
| 304 | # extraVolumeMounts -- Additional Volume to mount into Vector Containers. |
| 305 | extraVolumeMounts: [] |
| 306 | |
| 307 | # initContainers -- Init Containers to be added to the Vector Pods. |
| 308 | initContainers: [] |
| 309 | |
| 310 | # extraContainers -- Extra Containers to be added to the Vector Pods. |
| 311 | extraContainers: [] |
| 312 | |
| 313 | # Configuration for Vector's data persistence. |
| 314 | persistence: |
| 315 | # persistence.enabled -- If true, create and use PersistentVolumeClaims. |
| 316 | enabled: false |
| 317 | # persistence.existingClaim -- Name of an existing PersistentVolumeClaim to use. Valid for the "Aggregator" role. |
| 318 | existingClaim: "" |
| 319 | # persistence.storageClassName -- Specifies the storageClassName for PersistentVolumeClaims. Valid for the |
| 320 | # "Aggregator" role. |
| 321 | # storageClassName: default |
| 322 | |
| 323 | # persistence.accessModes -- Specifies the accessModes for PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 324 | accessModes: |
| 325 | - ReadWriteOnce |
| 326 | # persistence.size -- Specifies the size of PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 327 | size: 10Gi |
| 328 | # persistence.finalizers -- Specifies the finalizers of PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 329 | finalizers: |
| 330 | - kubernetes.io/pvc-protection |
| 331 | # persistence.selectors -- Specifies the selectors for PersistentVolumeClaims. Valid for the "Aggregator" role. |
| 332 | selectors: {} |
| 333 | |
| 334 | hostPath: |
| 335 | # persistence.hostPath.path -- Override path used for hostPath persistence. Valid for the "Agent" role, persistence |
| 336 | # is always used for the "Agent" role. |
| 337 | path: "/var/lib/vector" |
| 338 | |
| 339 | # dnsPolicy -- Specify the [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) |
| 340 | # for Vector Pods. |
| 341 | dnsPolicy: ClusterFirst |
| 342 | |
| 343 | # dnsConfig -- Specify the [dnsConfig](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config) |
| 344 | # options for Vector Pods. |
| 345 | dnsConfig: {} |
| 346 | # nameservers: |
| 347 | # - 1.2.3.4 |
| 348 | # searches: |
| 349 | # - ns1.svc.cluster-domain.example |
| 350 | # - my.dns.search.suffix |
| 351 | # options: |
| 352 | # - name: ndots |
| 353 | # value: "2" |
| 354 | # - name: edns0 |
| 355 | |
| 356 | # livenessProbe -- Override default liveness probe settings. If customConfig is used, requires customConfig.api.enabled |
| 357 | # to be set to true. |
| 358 | livenessProbe: {} |
| 359 | # httpGet: |
| 360 | # path: /health |
| 361 | # port: api |
| 362 | |
| 363 | # readinessProbe -- Override default readiness probe settings. If customConfig is used, |
| 364 | # requires customConfig.api.enabled to be set to true. |
| 365 | readinessProbe: {} |
| 366 | # httpGet: |
| 367 | # path: /health |
| 368 | # port: api |
| 369 | |
| 370 | # Configure a PodMonitor for Vector, requires the PodMonitor CRD to be installed. |
| 371 | podMonitor: |
| 372 | # podMonitor.enabled -- If true, create a PodMonitor for Vector. |
| 373 | enabled: false |
| 374 | # podMonitor.jobLabel -- Override the label to retrieve the job name from. |
| 375 | jobLabel: app.kubernetes.io/name |
| 376 | # podMonitor.port -- Override the port to scrape. |
| 377 | port: prom-exporter |
| 378 | # podMonitor.path -- Override the path to scrape. |
| 379 | path: /metrics |
| 380 | # podMonitor.relabelings -- [RelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config) |
| 381 | # to apply to samples before scraping. |
| 382 | relabelings: [] |
| 383 | # podMonitor.metricRelabelings -- [MetricRelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs) |
| 384 | # to apply to samples before ingestion. |
| 385 | metricRelabelings: [] |
| 386 | # podMonitor.additionalLabels -- Adds additional labels to the PodMonitor. |
| 387 | additionalLabels: {} |
| 388 | # podMonitor.honorLabels -- If true, honor_labels is set to true in the [scrape config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config). |
| 389 | honorLabels: false |
| 390 | # podMonitor.honorTimestamps -- If true, honor_timestamps is set to true in the [scrape config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config). |
| 391 | honorTimestamps: true |
| 392 | |
| 393 | # Optional built-in HAProxy load. |
| 394 | haproxy: |
| 395 | # haproxy.enabled -- If true, create a HAProxy load balancer. |
| 396 | enabled: false |
| 397 | |
| 398 | # Define the HAProxy image to use. |
| 399 | image: |
| 400 | # haproxy.image.repository -- Override default registry and name for HAProxy. |
| 401 | repository: haproxytech/haproxy-alpine |
| 402 | # haproxy.image.pullPolicy -- HAProxy image pullPolicy. |
| 403 | pullPolicy: IfNotPresent |
| 404 | # haproxy.image.pullSecrets -- The [imagePullSecrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) |
| 405 | # to reference for the HAProxy Pods. |
| 406 | pullSecrets: [] |
| 407 | # haproxy.image.tag -- The tag to use for HAProxy's image. |
| 408 | tag: "2.4.17" |
| 409 | |
| 410 | # haproxy.rollWorkload -- Add a checksum of the generated ConfigMap to the HAProxy Deployment. |
| 411 | rollWorkload: true |
| 412 | |
| 413 | # haproxy.replicas -- Set the number of HAProxy Pods to create. |
| 414 | replicas: 1 |
| 415 | |
| 416 | serviceAccount: |
| 417 | # haproxy.serviceAccount.create -- If true, create a HAProxy ServiceAccount. |
| 418 | create: true |
| 419 | # haproxy.serviceAccount.annotations -- Annotations to add to the HAProxy ServiceAccount. |
| 420 | annotations: {} |
| 421 | # haproxy.serviceAccount.name -- The name of the HAProxy ServiceAccount to use. If not set and create is true, a |
| 422 | # name is generated using the fullname template. |
| 423 | name: |
| 424 | # haproxy.serviceAccount.automountToken -- Automount API credentials for the HAProxy ServiceAccount. |
| 425 | automountToken: true |
| 426 | |
| 427 | # haproxy.strategy -- Customize the [strategy](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/) |
| 428 | # used to replace HAProxy Pods. |
| 429 | strategy: {} |
| 430 | # rollingUpdate: |
| 431 | # maxSurge: 25% |
| 432 | # maxUnavailable: 25% |
| 433 | # type: RollingUpdate |
| 434 | |
| 435 | # haproxy.terminationGracePeriodSeconds -- Override HAProxy's terminationGracePeriodSeconds. |
| 436 | terminationGracePeriodSeconds: 60 |
| 437 | |
| 438 | # haproxy.podAnnotations -- Set annotations on HAProxy Pods. |
| 439 | podAnnotations: {} |
| 440 | |
| 441 | # haproxy.podLabels -- Set labels on HAProxy Pods. |
| 442 | podLabels: {} |
| 443 | |
| 444 | # haproxy.podPriorityClassName -- Set the priorityClassName on HAProxy Pods. |
| 445 | podPriorityClassName: "" |
| 446 | |
| 447 | # haproxy.podSecurityContext -- Allows you to overwrite the default PodSecurityContext for HAProxy. |
| 448 | podSecurityContext: {} |
| 449 | # fsGroup: 2000 |
| 450 | |
| 451 | # haproxy.securityContext -- Specify securityContext on HAProxy containers. |
| 452 | securityContext: {} |
| 453 | # capabilities: |
| 454 | # drop: |
| 455 | # - ALL |
| 456 | # readOnlyRootFilesystem: true |
| 457 | # runAsNonRoot: true |
| 458 | # runAsUser: 1000 |
| 459 | |
| 460 | # haproxy.containerPorts -- Manually define HAProxy's containerPorts, overrides automated generation of containerPorts. |
| 461 | containerPorts: [] |
| 462 | |
| 463 | # HAProxy's Service configuration. |
| 464 | service: |
| 465 | # haproxy.service.type -- Set type of HAProxy's Service. |
| 466 | type: ClusterIP |
| 467 | # haproxy.service.annotations -- Set annotations on HAProxy's Service. |
| 468 | annotations: {} |
| 469 | # haproxy.service.topologyKeys -- Specify the [topologyKeys](https://kubernetes.io/docs/concepts/services-networking/service-topology/#using-service-topology) |
| 470 | # field on HAProxy's Service spec. |
| 471 | topologyKeys: [] |
| 472 | # - "kubernetes.io/hostname" |
| 473 | # - "topology.kubernetes.io/zone" |
| 474 | # - "topology.kubernetes.io/region" |
| 475 | # - "*" |
| 476 | # haproxy.service.ports -- Manually set HAPRoxy's Service ports, overrides automated generation of Service ports. |
| 477 | ports: [] |
| 478 | # haproxy.service.externalTrafficPolicy -- Specify the [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip). |
| 479 | externalTrafficPolicy: "" |
| 480 | # haproxy.service.loadBalancerIP -- Specify the [loadBalancerIP](https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer). |
| 481 | loadBalancerIP: "" |
| 482 | # haproxy.service.ipFamilyPolicy -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 483 | ipFamilyPolicy: "" |
| 484 | # haproxy.service.ipFamilies -- Configure [IPv4/IPv6 dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/). |
| 485 | ipFamilies: [] |
| 486 | |
| 487 | # haproxy.existingConfigMap -- Use this existing ConfigMap for HAProxy's configuration instead of creating a new one. |
| 488 | # Additionally, haproxy.containerPorts and haproxy.service.ports should be specified based on your supplied |
| 489 | # configuration. If set, this parameter takes precedence over customConfig and the chart's default configs. |
| 490 | existingConfigMap: "" |
| 491 | |
| 492 | # haproxy.customConfig -- Override HAProxy's default configs, if used **all** options need to be specified. |
| 493 | # This parameter supports using Helm templates to insert values dynamically. By default, this chart will parse |
| 494 | # Vector's configuration from customConfig to generate HAProxy's config, which can be overwritten with |
| 495 | # haproxy.customConfig. |
| 496 | customConfig: "" |
| 497 | |
| 498 | # haproxy.extraVolumes -- Additional Volumes to use with HAProxy Pods. |
| 499 | extraVolumes: [] |
| 500 | |
| 501 | # haproxy.extraVolumeMounts -- Additional Volume to mount into HAProxy Containers. |
| 502 | extraVolumeMounts: [] |
| 503 | |
| 504 | # haproxy.initContainers -- Init Containers to be added to the HAProxy Pods. |
| 505 | initContainers: [] |
| 506 | |
| 507 | # haproxy.extraContainers -- Extra Containers to be added to the HAProxy Pods. |
| 508 | extraContainers: [] |
| 509 | |
| 510 | autoscaling: |
| 511 | # haproxy.autoscaling.enabled -- Create a HorizontalPodAutoscaler for HAProxy. |
| 512 | enabled: false |
| 513 | # haproxy.autoscaling.minReplicas -- Minimum replicas for HAProxy's HPA. |
| 514 | minReplicas: 1 |
| 515 | # haproxy.autoscaling.maxReplicas -- Maximum replicas for HAProxy's HPA. |
| 516 | maxReplicas: 10 |
| 517 | # haproxy.autoscaling.targetCPUUtilizationPercentage -- Target CPU utilization for HAProxy's HPA. |
| 518 | targetCPUUtilizationPercentage: 80 |
| 519 | # haproxy.autoscaling.targetMemoryUtilizationPercentage -- (int) Target memory utilization for HAProxy's HPA. |
| 520 | targetMemoryUtilizationPercentage: |
| 521 | # haproxy.autoscaling.customMetric -- Target a custom metric for autoscaling. |
| 522 | customMetric: {} |
| 523 | # - type: Pods |
| 524 | # pods: |
| 525 | # metric: |
| 526 | # name: utilization |
| 527 | # target: |
| 528 | # type: AverageValue |
| 529 | # averageValue: 95 |
| 530 | |
| 531 | # haproxy.resources -- Set HAProxy resource requests and limits. |
| 532 | resources: {} |
| 533 | # limits: |
| 534 | # cpu: 100m |
| 535 | # memory: 128Mi |
| 536 | # requests: |
| 537 | # cpu: 100m |
| 538 | # memory: 128Mi |
| 539 | |
| 540 | # haproxy.livenessProbe -- Override default HAProxy liveness probe settings. |
| 541 | livenessProbe: |
| 542 | tcpSocket: |
| 543 | port: 1024 |
| 544 | |
| 545 | # haproxy.readinessProbe -- Override default HAProxy readiness probe settings. |
| 546 | readinessProbe: |
| 547 | tcpSocket: |
| 548 | port: 1024 |
| 549 | |
| 550 | # haproxy.nodeSelector -- Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) |
| 551 | # for HAProxy Pods |
| 552 | nodeSelector: {} |
| 553 | |
| 554 | # haproxy.tolerations -- Configure HAProxy Pods to be scheduled on [tainted](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
| 555 | # nodes. |
| 556 | tolerations: [] |
| 557 | |
| 558 | # haproxy.affinity -- Configure [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| 559 | # rules for HAProxy Pods. |
| 560 | affinity: {} |