apache-airflow-providers-cncf-kubernetes
Provider package apache-airflow-providers-cncf-kubernetes for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that bridges Airflow's task orchestration engine with Kubernetes clusters. It allows you to define and execute containerized workloads as Airflow tasks, leveraging Kubernetes' native scheduling, resource management, and pod lifecycle features. The package provides operators and hooks that translate Airflow DAG definitions into Kubernetes pod specifications, handling authentication, namespace management, and async execution through its kubernetes and kubernetes_asyncio dependencies.
The provider is production-stable and actively maintained as part of the official Apache Airflow ecosystem. It requires Airflow 2.11.0 or later and supports Python 3.10 through 3.14. Installation is straightforward via pip on top of an existing Airflow setup, with no compiled dependencies. Use it when you need to run containerized jobs within Kubernetes clusters as part of larger Airflow workflows, or when you want Kubernetes' resource isolation and scheduling alongside Airflow's DAG orchestration.
Use it for:
- Run containerized data processing jobs (ML training, ETL pipelines) on Kubernetes from Airflow DAGs.
- Orchestrate multi-container applications where each task runs as a Kubernetes pod with defined resource limits.
- Integrate Kubernetes-native workloads into Airflow workflows without maintaining separate orchestration systems.
- Execute tasks with dynamic resource allocation by leveraging Kubernetes' autoscaling and node management.
- Deploy Airflow workflows across multiple Kubernetes clusters or namespaces for multi-tenant environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Apache Airflow with Kubernetes, enabling orchestration of containerized workloads and cluster operations through Airflow DAGs.
Yes. This is a production-stable, actively maintained official Airflow provider with no known vulnerabilities, low install friction, and permissive licensing. Install it if you run Airflow and need to orchestrate Kubernetes workloads. Verify your Airflow version meets the >=2.11.0 minimum and that you have Kubernetes cluster access before deploying.
Install
apache-airflow-providers-cncf-kubernetes on PyPI
pip
pip install apache-airflow-providers-cncf-kubernetesuv
uv add apache-airflow-providers-cncf-kubernetespoetry
poetry add apache-airflow-providers-cncf-kubernetesInstalling apache-airflow-providers-cncf-kubernetes
Before you install
Low install friction; pure Python wheel. Actively maintained with recent release (4 days old). Requires Apache Airflow >=2.11.0 and kubernetes library >=35.0.0,!=36.0.0,<37.0.0; verify your Airflow version meets the minimum.
License in practice
Apache-2.0 permissive license; you may use, modify, and distribute freely with attribution and no warranty.
Quickstart
pip install apache-airflow-providers-cncf-kubernetes
from airflow.providers.cncf.kubernetes.operators.kubernetes_pod import KubernetesPodOperator
from airflow import DAG
with DAG('k8s_example') as dag:
task = KubernetesPodOperator(
task_id='run_pod',
image='my-image:latest',
namespace='default'
)
Requires an existing Airflow installation (>=2.11.0) and a Kubernetes cluster or kubeconfig access.
Verify before relying
- Whether async support (kubernetes_asyncio dependency) is automatically enabled or requires explicit configuration.
- Whether the provider handles kubeconfig discovery from standard locations or requires explicit credential setup.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — aiofiles, apache-airflow, apache-airflow-providers-common-compat, asgiref, cryptography, kubernetes, urllib3, kubernetes_asyncio |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,484,376/month — #1,280 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_cncf_kubernetes-10.21.0-py3-none-any.whl
Keywords: airflow-provider, cncf.kubernetes, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-apache-flinkProvides Apache Airflow integration for Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-celeryIntegrates Celery distributed task execution…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-sparkIntegrates Apache Spark with Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-kafkaIntegrates Apache Kafka with Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-googleIntegrates Apache Airflow with Google Cloud…
permissive · top 1,000 on PyPI
apache-airflow-providers-dbt-cloudIntegrates dbt Cloud with Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-zendeskProvides operators and hooks to integrate…
permissive · top 15,000 on PyPI
apache-airflow-providers-neo4jIntegrates Neo4j graph database operations into…
permissive · top 15,000 on PyPI
apache-airflow-providers-gitIntegrates Git version control operations into…
permissive · top 15,000 on PyPI
apache-libcloudAbstracts differences between cloud provider…
permissive · top 5,000 on PyPI