Skip to content

Commit cb9ffa6

Browse files
PaulienVaadwk67
andauthored
Update example-airflow-incluster.yaml with kubernetes executors configuration (#523)
* Update example-airflow-incluster.yaml With the kubernetesExecutors configuration * Update example-airflow-incluster.yaml Cleanup with only one end-of-file line * Update example-airflow-incluster.yaml Remove trailing whitespaces * Update example-airflow-incluster.yaml remove trailing whitespaces (again) * Update example-airflow-incluster.yaml Another time from another editor: remove trailing whitespaces --------- Co-authored-by: Andrew Kenworthy <1712947+adwk67@users.noreply.github.com>
1 parent abae4c2 commit cb9ffa6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/modules/airflow/examples/example-airflow-incluster.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ spec:
1616
envOverrides:
1717
AIRFLOW_CONN_KUBERNETES_IN_CLUSTER: "kubernetes://?__extra__=%7B%22extra__kubernetes__in_cluster%22%3A+true%2C+%22extra__kubernetes__kube_config%22%3A+%22%22%2C+%22extra__kubernetes__kube_config_path%22%3A+%22%22%2C+%22extra__kubernetes__namespace%22%3A+%22%22%7D"
1818
replicas: 1
19-
celeryExecutors:
19+
schedulers:
2020
roleGroups:
2121
default:
2222
envOverrides:
2323
AIRFLOW_CONN_KUBERNETES_IN_CLUSTER: "kubernetes://?__extra__=%7B%22extra__kubernetes__in_cluster%22%3A+true%2C+%22extra__kubernetes__kube_config%22%3A+%22%22%2C+%22extra__kubernetes__kube_config_path%22%3A+%22%22%2C+%22extra__kubernetes__namespace%22%3A+%22%22%7D"
2424
replicas: 1
25-
schedulers:
25+
celeryExecutors:
2626
roleGroups:
2727
default:
2828
envOverrides:
2929
AIRFLOW_CONN_KUBERNETES_IN_CLUSTER: "kubernetes://?__extra__=%7B%22extra__kubernetes__in_cluster%22%3A+true%2C+%22extra__kubernetes__kube_config%22%3A+%22%22%2C+%22extra__kubernetes__kube_config_path%22%3A+%22%22%2C+%22extra__kubernetes__namespace%22%3A+%22%22%7D"
3030
replicas: 1
31+
# in case of using kubernetesExecutors
32+
# kubernetesExecutors:
33+
# envOverrides:
34+
# AIRFLOW_CONN_KUBERNETES_IN_CLUSTER: "kubernetes://?__extra__=%7B%22extra__kubernetes__in_cluster%22%3A+true%2C+%22extra__kubernetes__kube_config%22%3A+%22%22%2C+%22extra__kubernetes__kube_config_path%22%3A+%22%22%2C+%22extra__kubernetes__namespace%22%3A+%22%22%7D"

0 commit comments

Comments
 (0)