From 9e1cc8d90628328186ba4b896b6bc2ee3305b725 Mon Sep 17 00:00:00 2001 From: Miretpl Date: Sat, 3 May 2025 21:01:36 +0200 Subject: [PATCH] Clarify podTemplate and workers fields comments --- chart/values.schema.json | 112 ++++++++++++++++---------------- chart/values.yaml | 136 ++++++++++++++++++++++++--------------- 2 files changed, 141 insertions(+), 107 deletions(-) diff --git a/chart/values.schema.json b/chart/values.schema.json index 93036cac30e42..facec56da6cdf 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -1506,12 +1506,12 @@ "additionalProperties": false, "properties": { "replicas": { - "description": "Number of Airflow Celery workers in StatefulSet.", + "description": "Number of Airflow Celery workers.", "type": "integer", "default": 1 }, "revisionHistoryLimit": { - "description": "Number of old replicasets to retain.", + "description": "Max number of old Airflow Celery workers ReplicaSets to retain.", "type": [ "integer", "null" @@ -1520,7 +1520,7 @@ "x-docsSection": null }, "command": { - "description": "Command to use when running Airflow workers (templated).", + "description": "Command to use when running Airflow Celery workers and using pod-template-file (templated).", "type": [ "array", "null" @@ -1531,7 +1531,7 @@ "default": null }, "args": { - "description": "Args to use when running Airflow workers (templated).", + "description": "Args to use when running Airflow Celery workers (templated).", "type": [ "array", "null" @@ -1546,12 +1546,12 @@ ] }, "livenessProbe": { - "description": "Liveness probe configuration for worker containers.", + "description": "Liveness probe configuration for Airflow Celery worker containers.", "type": "object", "additionalProperties": false, "properties": { "enabled": { - "description": "Enable liveness probe for celery workers.", + "description": "Enable liveness probe for Airflow Celery workers.", "type": "boolean", "default": true }, @@ -1588,7 +1588,7 @@ } }, "updateStrategy": { - "description": "Specifies the strategy used to replace old Pods by new ones when deployed as a StatefulSet.", + "description": "Specifies the strategy used to replace old Airflow Celery worker pods by new ones when deployed as a StatefulSet.", "type": [ "null", "object" @@ -1596,7 +1596,7 @@ "default": null }, "podManagementPolicy": { - "description": "Specifies the policy for managing pods within the worker. Only applicable to StatefulSet.", + "description": "Specifies the policy for managing pods within the Airflow Celery worker. Only applicable to StatefulSet.", "type": [ "null", "string" @@ -1608,7 +1608,7 @@ ] }, "strategy": { - "description": "Specifies the strategy used to replace old Pods by new ones when deployed as a Deployment.", + "description": "Specifies the strategy used to replace old Airflow Celery worker pods by new ones when deployed as a Deployment.", "type": [ "null", "object" @@ -1621,7 +1621,7 @@ } }, "serviceAccount": { - "description": "Create ServiceAccount.", + "description": "Create ServiceAccount for Airflow Celery workers and pods created with pod-template-file.", "type": "object", "properties": { "automountServiceAccountToken": { @@ -1653,7 +1653,7 @@ } }, "keda": { - "description": "KEDA configuration.", + "description": "KEDA configuration of Airflow Celery workers.", "type": "object", "additionalProperties": false, "properties": { @@ -1681,12 +1681,12 @@ "default": 30 }, "minReplicaCount": { - "description": "Minimum number of workers created by KEDA.", + "description": "Minimum number of Airflow Celery workers created by KEDA.", "type": "integer", "default": 0 }, "maxReplicaCount": { - "description": "Maximum number of workers created by KEDA.", + "description": "Maximum number of Airflow Celery workers created by KEDA.", "type": "integer", "default": 10 }, @@ -1724,7 +1724,7 @@ } }, "hpa": { - "description": "HPA configuration.", + "description": "HPA configuration for Airflow Celery workers.", "type": "object", "additionalProperties": false, "properties": { @@ -1734,12 +1734,12 @@ "default": false }, "minReplicaCount": { - "description": "Minimum number of workers created by HPA.", + "description": "Minimum number of Airflow Celery workers created by HPA.", "type": "integer", "default": 0 }, "maxReplicaCount": { - "description": "Maximum number of workers created by HPA.", + "description": "Maximum number of Airflow Celery workers created by HPA.", "type": "integer", "default": 5 }, @@ -1771,7 +1771,7 @@ } }, "persistence": { - "description": "Persistence configuration.", + "description": "Persistence configuration for Airflow Celery workers.", "type": "object", "additionalProperties": false, "properties": { @@ -1782,10 +1782,10 @@ }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/definitions/persistentVolumeClaimRetentionPolicy", - "description": "PersistentVolumeClaim retention policy to be used in the lifecycle of a StatefulSet" + "description": "PersistentVolumeClaim retention policy to be used in the lifecycle of a StatefulSet." }, "size": { - "description": "Volume size for worker StatefulSet.", + "description": "Volume size for Airflow Celery worker StatefulSet.", "type": "string", "default": "100Gi" }, @@ -1803,7 +1803,7 @@ "default": false }, "annotations": { - "description": "Annotations to add to worker volumes.", + "description": "Annotations to add to Airflow Celery worker volumes.", "type": "object", "default": {}, "additionalProperties": { @@ -1866,17 +1866,17 @@ } }, "kerberosSidecar": { - "description": "Kerberos sidecar for Airflow workers.", + "description": "Kerberos sidecar for Airflow Celery workers and pods created with pod-template-file.", "type": "object", "additionalProperties": false, "properties": { "enabled": { - "description": "Enable Kerberos sidecar for the worker.", + "description": "Enable Kerberos sidecar.", "type": "boolean", "default": false }, "resources": { - "description": "Resources on workers kerberos sidecar", + "description": "Resources on kerberos sidecar.", "type": "object", "default": {}, "examples": [ @@ -1949,17 +1949,17 @@ } }, "kerberosInitContainer": { - "description": "Kerberos init container for Airflow workers.", + "description": "Kerberos init container for Airflow Celery workers and pods created with pod-template-file.", "type": "object", "additionalProperties": false, "properties": { "enabled": { - "description": "Enable Kerberos init container for the worker.", + "description": "Enable Kerberos init container.", "type": "boolean", "default": false }, "resources": { - "description": "Resources on workers kerberos init container", + "description": "Resources on kerberos init container.", "type": "object", "default": {}, "examples": [ @@ -2032,7 +2032,7 @@ } }, "resources": { - "description": "Resources on workers", + "description": "Resource configuration for Airflow Celery workers and pods created with pod-template-file.", "type": "object", "default": {}, "examples": [ @@ -2050,17 +2050,17 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" }, "terminationGracePeriodSeconds": { - "description": "Grace period for tasks to finish after SIGTERM is sent from Kubernetes.", + "description": "Grace period for tasks to finish after SIGTERM is sent from Kubernetes. It is used by Airflow Celery workers and pod-template-file.", "type": "integer", "default": 600 }, "safeToEvict": { - "description": "This setting tells Kubernetes that it's ok to evict when it wants to scale a node down.", + "description": "This setting tells Kubernetes that it's ok to evict when it wants to scale a node down. It is used by Airflow Celery workers and pod-template-file.", "type": "boolean", "default": false }, "extraContainers": { - "description": "Launch additional containers into workers (templated). Note, if used with KubernetesExecutor, you are responsible for signaling sidecars to exit when the main container finishes so Airflow can continue the worker shutdown process!", + "description": "Launch additional containers into Airflow Celery workers and pods created with pod-template-file (templated). Note, if used with KubernetesExecutor, you are responsible for signaling sidecars to exit when the main container finishes so Airflow can continue the worker shutdown process!", "type": "array", "default": [], "items": { @@ -2068,7 +2068,7 @@ } }, "extraInitContainers": { - "description": "Add additional init containers into workers (templated).", + "description": "Add additional init containers into Airflow Celery workers and pods created with pod-template-file (templated).", "type": "array", "default": [], "items": { @@ -2076,7 +2076,7 @@ } }, "extraPorts": { - "description": "Expose additional ports on the worker container.", + "description": "Expose additional ports of Airflow Celery worker container.", "type": "array", "default": [], "items": { @@ -2084,7 +2084,7 @@ } }, "extraVolumes": { - "description": "Mount additional volumes into workers.", + "description": "Additional volumes attached to the Airflow Celery workers and pods created with pod-template-file.", "type": "array", "default": [], "items": { @@ -2092,7 +2092,7 @@ } }, "extraVolumeMounts": { - "description": "Mount additional volumes into workers.", + "description": "Additional volume mounts attached to the Airflow Celery workers and pods created with pod-template-file.", "type": "array", "default": [], "items": { @@ -2100,7 +2100,7 @@ } }, "nodeSelector": { - "description": "Select certain nodes for worker pods.", + "description": "Select certain nodes for Airflow Celery worker pods and pods created with pod-template-file.", "type": "object", "default": {}, "additionalProperties": { @@ -2108,7 +2108,7 @@ } }, "runtimeClassName": { - "description": "Specify runtime for worker pods.", + "description": "Specify runtime for Airflow Celery worker pods and pods created with pod-template-file.", "type": [ "string", "null" @@ -2116,7 +2116,7 @@ "default": null }, "priorityClassName": { - "description": "Specify priority for worker pods.", + "description": "Specify priority for Airflow Celery worker pods and pods created with pod-template-file.", "type": [ "string", "null" @@ -2124,13 +2124,13 @@ "default": null }, "affinity": { - "description": "Specify scheduling constraints for worker pods.", + "description": "Specify scheduling constraints for Airflow Celery worker pods and pods created with pod-template-file.", "type": "object", "default": "See values.yaml", "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" }, "tolerations": { - "description": "Specify Tolerations for worker pods.", + "description": "Specify Tolerations for Airflow Celery worker pods and pods created with pod-template-file.", "type": "array", "default": [], "items": { @@ -2139,7 +2139,7 @@ } }, "topologySpreadConstraints": { - "description": "Specify topology spread constraints for worker pods.", + "description": "Specify topology spread constraints for Airflow Celery worker pods and pods created with pod-template-file.", "type": "array", "default": [], "items": { @@ -2148,7 +2148,7 @@ } }, "hostAliases": { - "description": "Specify HostAliases for workers.", + "description": "Specify HostAliases for Airflow Celery worker pods and pods created with pod-template-file.", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" }, @@ -2170,7 +2170,7 @@ ] }, "annotations": { - "description": "Annotations to add to the worker deployment", + "description": "Annotations to add to the Airflow Celery worker deployment.", "type": "object", "default": {}, "additionalProperties": { @@ -2178,7 +2178,7 @@ } }, "podAnnotations": { - "description": "Annotations to add to the worker pods.", + "description": "Annotations to add to the Airflow Celery workers and pods created with pod-template-file.", "type": "object", "default": {}, "additionalProperties": { @@ -2186,7 +2186,7 @@ } }, "labels": { - "description": "Labels to add to the worker objects and pods.", + "description": "Labels to add to the Airflow Celery workers objects and pods created with pod-template-file.", "type": "object", "default": {}, "additionalProperties": { @@ -2195,10 +2195,10 @@ }, "logGroomerSidecar": { "$ref": "#/definitions/logGroomerConfigType", - "description": "Configuration for worker log groomer sidecar" + "description": "Configuration for Airflow Celery worker log groomer sidecar" }, "securityContext": { - "description": "Security context for the worker pod (deprecated, use `securityContexts` instead). If not set, the values from `securityContext` will be used.", + "description": "Security context for the Airflow Celery worker pods and pods created with pod-template-file (deprecated, use `securityContexts` instead). If not set, the values from `securityContext` will be used.", "type": "object", "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext", "default": {}, @@ -2211,7 +2211,7 @@ ] }, "containerLifecycleHooks": { - "description": "Container Lifecycle Hooks definition for the worker. If not set, the values from global `containerLifecycleHooks` will be used.", + "description": "Container Lifecycle Hooks definition for Airflow Celery workers and pods created with pod-template-file. If not set, the values from global `containerLifecycleHooks` will be used.", "type": "object", "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", "default": {}, @@ -2240,12 +2240,12 @@ ] }, "securityContexts": { - "description": "Security context definition for the workers. If not set, the values from global `securityContexts` will be used.", + "description": "Security context definition for the Airflow Celery workers and pod-template-file. If not set, the values from global `securityContexts` will be used.", "type": "object", "x-docsSection": "Kubernetes", "properties": { "pod": { - "description": "Pod security context definition for the workers.", + "description": "Pod security context definition.", "type": "object", "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext", "default": {}, @@ -2259,7 +2259,7 @@ ] }, "container": { - "description": "Container security context definition for the workers.", + "description": "Container security context definition.", "type": "object", "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", "default": {}, @@ -2278,7 +2278,7 @@ } }, "waitForMigrations": { - "description": "wait-for-airflow-migrations init container.", + "description": "Configuration of wait-for-airflow-migration init container for Airflow Celery workers.", "type": "object", "additionalProperties": false, "properties": { @@ -2309,12 +2309,12 @@ } }, "securityContexts": { - "description": "Security context definition for the wait for migrations. If not set, the values from global `securityContexts` will be used.", + "description": "Security context definition for the wait-for-airflow-migrations container. If not set, the values from global `securityContexts` will be used.", "type": "object", "x-docsSection": "Kubernetes", "properties": { "container": { - "description": "Container security context definition for the wait for migrations.", + "description": "Container security context definition for the wait-for-airflow-migrations container.", "type": "object", "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", "default": {}, @@ -2335,7 +2335,7 @@ } }, "env": { - "description": "Add additional env vars to worker.", + "description": "Add additional env vars to the Airflow Celery workers and pods created with pod-template-file.", "type": "array", "default": [], "items": { @@ -2392,7 +2392,7 @@ } }, "volumeClaimTemplates": { - "description": "Specify additional volume claim template for workers.", + "description": "Specify additional volume claim template for Airflow Celery workers.", "type": "array", "default": [], "items": { @@ -8655,7 +8655,7 @@ "default": false }, "podTemplate": { - "description": "The contents of ``pod_template_file.yaml`` used for KubernetesExecutor workers (templated). The default (see ``files/pod-template-file.kubernetes-helm-yaml``) already takes into account normal ``workers`` configuration parameters (e.g. ``workers.resources``), so you normally won't need to override this directly.", + "description": "The content of ``pod_template_file.yaml`` used for KubernetesExecutor workers (templated). The default (see ``files/pod-template-file.kubernetes-helm-yaml``) already takes into account normal ``workers`` configuration parameters (e.g. ``workers.resources``), so you normally won't need to override this directly.", "type": [ "string", "null" diff --git a/chart/values.yaml b/chart/values.yaml index 3fbeea9a6eea9..26939861e31bb 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -605,14 +605,15 @@ kerberos: # Airflow Worker Config workers: - # Number of airflow celery workers in StatefulSet + # Number of Airflow Celery workers replicas: 1 - # Max number of old replicasets to retain + + # Max number of old Airflow Celery workers ReplicaSets to retain revisionHistoryLimit: ~ - # Command to use when running Airflow workers (templated). + # Command to use when running Airflow Celery workers and using pod-template-file (templated) command: ~ - # Args to use when running Airflow workers (templated). + # Args to use when running Airflow Celery workers (templated) args: - "bash" - "-c" @@ -621,8 +622,8 @@ workers: exec \ airflow {{ semverCompare ">=2.0.0" .Values.airflowVersion | ternary "celery worker" "worker" }} - # If the worker stops responding for 5 minutes (5*60s) kill the - # worker and let Kubernetes restart it + # If the Airflow Celery worker stops responding for 5 minutes (5*60s) + # kill the worker and let Kubernetes restart it livenessProbe: enabled: true initialDelaySeconds: 10 @@ -631,32 +632,35 @@ workers: periodSeconds: 60 command: ~ - # Update Strategy when worker is deployed as a StatefulSet + # Update Strategy when Airflow Celery worker is deployed as a StatefulSet updateStrategy: ~ - # Update Strategy when worker is deployed as a Deployment + # Update Strategy when Airflow Celery worker is deployed as a Deployment strategy: rollingUpdate: maxSurge: "100%" maxUnavailable: "50%" - # Allow relaxing ordering guarantees while preserving its uniqueness and identity + # Allow relaxing ordering guarantees for Airflow Celery worker while preserving its uniqueness and identity # podManagementPolicy: Parallel - # When not set, the values defined in the global securityContext will be used + # When not set, the values defined in the global securityContext will + # be used in Airflow Celery workers and pod-template-file securityContext: {} # runAsUser: 50000 # fsGroup: 0 # runAsGroup: 0 - # Detailed default security context for worker deployments for container and pod level + # Detailed default security context for the + # Airflow Celery workers and pod-template-file on container and pod level securityContexts: pod: {} container: {} - # container level lifecycle hooks + # Container level Lifecycle Hooks definition for + # Airflow Celery workers and pods created with pod-template-file containerLifecycleHooks: {} - # Create ServiceAccount + # Create ServiceAccount for Airflow Celery workers and pods created with pod-template-file serviceAccount: # default value is true # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ @@ -670,7 +674,7 @@ workers: # Annotations to add to worker kubernetes service account. annotations: {} - # Allow KEDA autoscaling. + # Allow KEDA autoscaling for Airflow Celery workers keda: enabled: false namespaceLabels: {} @@ -682,10 +686,10 @@ workers: # Note that HPA has a separate cooldown period for scale-downs cooldownPeriod: 30 - # Minimum number of workers created by keda + # Minimum number of Airflow Celery workers created by keda minReplicaCount: 0 - # Maximum number of workers created by keda + # Maximum number of Airflow Celery workers created by keda maxReplicaCount: 10 # Specify HPA related options @@ -713,14 +717,14 @@ workers: # This configuration will be ignored if PGBouncer is not enabled usePgbouncer: true - # Allow HPA (KEDA must be disabled). + # Allow HPA for Airflow Celery workers (KEDA must be disabled) hpa: enabled: false - # Minimum number of workers created by HPA + # Minimum number of Airflow Celery workers created by HPA minReplicaCount: 0 - # Maximum number of workers created by HPA + # Maximum number of Airflow Celery workers created by HPA maxReplicaCount: 5 # Specifications for which to use to calculate the desired replica count @@ -735,33 +739,43 @@ workers: # Scaling behavior of the target in both Up and Down directions behavior: {} + # Persistence volume configuration for Airflow Celery workers persistence: # Enable persistent volumes enabled: true - # This policy determines whether PVCs should be deleted when StatefulSet is scaled down or removed. + + # This policy determines whether PVCs should be deleted when StatefulSet is scaled down or removed persistentVolumeClaimRetentionPolicy: ~ # persistentVolumeClaimRetentionPolicy: # whenDeleted: Delete # whenScaled: Delete - # Volume size for worker StatefulSet + + # Volume size for Airflow Celery worker StatefulSet size: 100Gi - # If using a custom storageClass, pass name ref to all statefulSets here + + # If using a custom storageClass, pass name ref to all StatefulSets here storageClassName: + # Execute init container to chown log directory. # This is currently only needed in kind, due to usage # of local-path provisioner. fixPermissions: false - # Annotations to add to worker volumes + + # Annotations to add to Airflow Celery worker volumes annotations: {} - # Detailed default security context for persistence for container level + + # Detailed default security context for persistence on container level securityContexts: container: {} - # container level lifecycle hooks + + # Container level lifecycle hooks containerLifecycleHooks: {} + # Kerberos sidecar configuration for Airflow Celery workers and pods created with pod-template-file kerberosSidecar: # Enable kerberos sidecar enabled: false + resources: {} # limits: # cpu: 100m @@ -769,12 +783,15 @@ workers: # requests: # cpu: 100m # memory: 128Mi - # Detailed default security context for kerberosSidecar for container level + + # Detailed default security context for kerberos sidecar on container level securityContexts: container: {} - # container level lifecycle hooks + + # Container level lifecycle hooks containerLifecycleHooks: {} + # Kerberos init container configuration for Airflow Celery workers and pods created with pod-template-file kerberosInitContainer: # Enable kerberos init container enabled: false @@ -786,7 +803,7 @@ workers: # cpu: 100m # memory: 128Mi - + # Resource configuration for Airflow Celery workers and pods created with pod-template-file resources: {} # limits: # cpu: 100m @@ -795,21 +812,28 @@ workers: # cpu: 100m # memory: 128Mi - # Grace period for tasks to finish after SIGTERM is sent from kubernetes + # Grace period for tasks to finish after SIGTERM is sent from kubernetes. + # It is used by Airflow Celery workers and pod-template-file. terminationGracePeriodSeconds: 600 - # This setting tells kubernetes that its ok to evict - # when it wants to scale a node down. + # This setting tells kubernetes that its ok to evict when it wants to scale a node down. + # It is used by Airflow Celery workers and pod-template-file. safeToEvict: false - # Launch additional containers into worker (templated). + # Launch additional containers into Airflow Celery worker + # and pods created with pod-template-file (templated). # Note: If used with KubernetesExecutor, you are responsible for signaling sidecars to exit when the main # container finishes so Airflow can continue the worker shutdown process! extraContainers: [] - # Add additional init containers into workers (templated). + # Add additional init containers into Airflow Celery workers + # and pods created with pod-template-file (templated). extraInitContainers: [] - # Mount additional volumes into worker. It can be templated like in the following example: + # Additional volumes and volume mounts attached to the + # Airflow Celery workers and pods created with pod-template-file + extraVolumes: [] + extraVolumeMounts: [] + # Mount additional volumes into workers pods. It can be templated like in the following example: # extraVolumes: # - name: my-templated-extra-volume # secret: @@ -821,18 +845,16 @@ workers: # - name: my-templated-extra-volume # mountPath: "{{ .Values.my_custom_path }}" # readOnly: true - extraVolumes: [] - extraVolumeMounts: [] - # Expose additional ports. These can be used for additional metric collection. + # Expose additional ports of Airflow Celery workers. These can be used for additional metric collection. extraPorts: [] - # Select certain nodes for airflow worker pods. + # Select certain nodes for Airflow Celery worker pods and pods created with pod-template-file nodeSelector: {} runtimeClassName: ~ priorityClassName: ~ affinity: {} - # default worker affinity is: + # Default Airflow Celery worker affinity is: # podAntiAffinity: # preferredDuringSchedulingIgnoredDuringExecution: # - podAffinityTerm: @@ -843,7 +865,7 @@ workers: # weight: 100 tolerations: [] topologySpreadConstraints: [] - # hostAliases to use in worker pods. + # hostAliases to use in Airflow Celery worker pods and pods created with pod-template-file # See: # https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ hostAliases: [] @@ -854,25 +876,32 @@ workers: # hostnames: # - "test.hostname.two" - # annotations for the worker resource + # Annotations for the Airflow Celery worker resource annotations: {} + # Pod annotations for the Airflow Celery workers and pods created with pod-template-file podAnnotations: {} - # Labels specific to workers objects and pods + # Labels specific to Airflow Celery workers objects and pods created with pod-template-file labels: {} + # Log groomer configuration for Airflow Celery workers logGroomerSidecar: - # Whether to deploy the Airflow worker log groomer sidecar. + # Whether to deploy the Airflow Celery worker log groomer sidecar enabled: true - # Command to use when running the Airflow worker log groomer sidecar (templated). + + # Command to use when running the Airflow Celery worker log groomer sidecar (templated) command: ~ - # Args to use when running the Airflow worker log groomer sidecar (templated). + + # Args to use when running the Airflow Celery worker log groomer sidecar (templated) args: ["bash", "/clean-logs"] + # Number of days to retain logs retentionDays: 15 - # frequency to attempt to groom logs, in minutes + + # Frequency to attempt to groom logs (in minutes) frequencyMinutes: 15 + resources: {} # limits: # cpu: 100m @@ -880,25 +909,30 @@ workers: # requests: # cpu: 100m # memory: 128Mi + # Detailed default security context for logGroomerSidecar for container level securityContexts: container: {} + env: [] + # Configuration of wait-for-airflow-migration init container for Airflow Celery workers waitForMigrations: # Whether to create init container to wait for db migrations enabled: true + env: [] - # Detailed default security context for waitForMigrations for container level + + # Detailed default security context for wait-for-airflow-migrations container securityContexts: container: {} + # Additional env variable configuration for Airflow Celery workers and pods created with pod-template-file env: [] + # Additional volume claim templates for Airflow Celery workers volumeClaimTemplates: [] - # Additional volumeClaimTemplates needed. # Comment out the above and uncomment the section below to enable it. - # Add more as needed # Make sure to mount it under extraVolumeMounts. # volumeClaimTemplates: # - metadata: @@ -2767,8 +2801,8 @@ config: # If true, it creates ClusterRole/ClusterRolebinding (with access to entire cluster) multiNamespaceMode: false -# `podTemplate` is a templated string containing the contents of `pod_template_file.yaml` used for -# KubernetesExecutor workers. The default `podTemplate` will use normal `workers` configuration parameters +# `podTemplate` is a templated string which overwrites the content of `pod_template_file.yaml` used by +# KubernetesExecutor. The default `podTemplate` will use `workers` configuration parameters # (e.g. `workers.resources`). As such, you normally won't need to override this directly, however, # you can still provide a completely custom `pod_template_file.yaml` if desired. # If not set, a default one is created using `files/pod-template-file.kubernetes-helm-yaml`.