This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new b41b7db1ffb Fix version_added for the concurrent pod creation options
(#71157)
b41b7db1ffb is described below
commit b41b7db1ffb3d8aa12456686e2dc8114db865655
Author: Stefan Wang <[email protected]>
AuthorDate: Fri Aug 7 17:12:50 2026 -0700
Fix version_added for the concurrent pod creation options (#71157)
async_pod_creation and pod_creation_max_concurrency are tagged
version_added: 10.20.0, but they ship in cncf-kubernetes 10.21.0. Neither
name appears anywhere in the released 10.20.0 distribution.
The docs build turns this into a ".. versionadded:: 10.20.0" directive on
the configuration reference page, so a reader planning an upgrade is
pointed at a release where neither option exists.
Signed-off-by: 1fanwang <[email protected]>
---
providers/cncf/kubernetes/provider.yaml | 4 ++--
.../src/airflow/providers/cncf/kubernetes/get_provider_info.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/providers/cncf/kubernetes/provider.yaml
b/providers/cncf/kubernetes/provider.yaml
index cfecb10cba9..895e9739006 100644
--- a/providers/cncf/kubernetes/provider.yaml
+++ b/providers/cncf/kubernetes/provider.yaml
@@ -375,7 +375,7 @@ config:
per-call latency is high (network round-trip, admission webhooks).
Pod
templates are still built synchronously; only the create API calls
are
parallelized.
- version_added: 10.20.0
+ version_added: 10.21.0
type: boolean
example: ~
default: "False"
@@ -386,7 +386,7 @@ config:
server (and admission webhooks) to avoid tripping API
priority-and-fairness or
rate limits. Has no effect when ``async_pod_creation`` is False.
When set to 0
the limit falls back to ``worker_pods_creation_batch_size``.
- version_added: 10.20.0
+ version_added: 10.21.0
type: integer
example: "16"
default: "0"
diff --git
a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/get_provider_info.py
b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/get_provider_info.py
index 8a2daec956f..50861688550 100644
---
a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/get_provider_info.py
+++
b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/get_provider_info.py
@@ -224,14 +224,14 @@ def get_provider_info():
},
"async_pod_creation": {
"description": "Create worker pods concurrently within
each scheduler loop instead of\nsequentially. When enabled, the
``worker_pods_creation_batch_size`` pods\ndequeued per loop are submitted to
the Kubernetes API concurrently (bounded\nby ``pod_creation_max_concurrency``)
using the asynchronous Kubernetes client.\nThis reduces the time the scheduler
loop spends blocked on pod creation when\nper-call latency is high (network
round-trip, admission webhooks). Pod\n [...]
- "version_added": "10.20.0",
+ "version_added": "10.21.0",
"type": "boolean",
"example": None,
"default": "False",
},
"pod_creation_max_concurrency": {
"description": "Maximum number of concurrent
pod-creation API calls when ``async_pod_creation``\nis enabled. Bounds the
burst of simultaneous requests to the Kubernetes API\nserver (and admission
webhooks) to avoid tripping API priority-and-fairness or\nrate limits. Has no
effect when ``async_pod_creation`` is False. When set to 0\nthe limit falls
back to ``worker_pods_creation_batch_size``.\n",
- "version_added": "10.20.0",
+ "version_added": "10.21.0",
"type": "integer",
"example": "16",
"default": "0",