-
|
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Kubernetes quota rejection happens before the worker pod exists, so Airflow can only retry or throttle pod creation; it cannot make Kubernetes accept pods beyond the namespace quota. In the current Kubernetes Executor source, I would check these first:
The durable fix is to keep Airflow's maximum pod demand below the namespace quota, or raise the quota. If you want the old "stay queued until quota frees" behavior, a finite or infinite publish retry setting is the closest Airflow-side lever, but it should be paired with concurrency limits so the scheduler is not constantly asking Kubernetes for pods it cannot create. |
Beta Was this translation helpful? Give feedback.
Kubernetes quota rejection happens before the worker pod exists, so Airflow can only retry or throttle pod creation; it cannot make Kubernetes accept pods beyond the namespace quota.
In the current Kubernetes Executor source,
403errors whose message containsexceeded quotaare retried only whiletask_publish_max_retriesallows it. If that value is0, or if the retry budget is exhausted while the quota is still full, the task is failed.I would check these first:
AIRFLOW__KUBERNETES_EXECUTOR__TASK_PUBLISH_MAX_RETRIESworker_pods_creation_batch_sizeparallelismThe durable…