Skip to content

Commit 01c6b05

Browse files
authored
feat(airflow): Update the kubernetes provider to 10.5.0 (#1158)
1 parent aa344f2 commit 01c6b05

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

airflow/stackable/constraints/3.0.1/constraints-python3.12.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,14 @@ apache-airflow-providers-asana==2.9.1
122122
apache-airflow-providers-atlassian-jira==3.0.2
123123
apache-airflow-providers-celery==3.10.6
124124
apache-airflow-providers-cloudant==4.1.1
125-
apache-airflow-providers-cncf-kubernetes==10.4.3
125+
# Stackable patch:
126+
# The 10.4.3 Kubernetes provider shipped with Airflow 3.0.1 has a problem.
127+
# https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.5.0/changelog.html#id1
128+
# It uses a busybox sidecar container to start tasks using the kubernetes executor
129+
# Two problems with that:
130+
# 1) The securityContext says "runAsNonRoot" but the busybox image defaults to root so it fails to be scheduled (at least on a standard OpenShift)
131+
# 2) The busybox image might not be available on air-gapped clusters
132+
apache-airflow-providers-cncf-kubernetes==10.5.0
126133
apache-airflow-providers-cohere==1.4.3
127134
apache-airflow-providers-common-compat==1.6.1
128135
apache-airflow-providers-common-io==1.5.4

0 commit comments

Comments
 (0)