skillfed

apache-airflow-providers-cncf-kubernetes

Provider package apache-airflow-providers-cncf-kubernetes for Apache Airflow

apache-airflow-providers-cncf-kubernetes v10.21.0 13.5M downloads/30d#1,280 on PyPI46,489
Permissive license Apache-2.0 Active released

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-kubernetes

uv

uv add apache-airflow-providers-cncf-kubernetes

poetry

poetry add apache-airflow-providers-cncf-kubernetes

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: Apache AirflowFramework :: Apache Airflow :: ProviderIntended Audience :: DevelopersIntended Audience :: System AdministratorsProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Monitoring

Tags

airflow kubernetes providerrun tasks on kubernetes from airflowkubernetes operator airflowairflow cncf kubernetes integrationcontainer orchestration airflowairflow k8s provider
airflow-providerkubernetes-integrationcontainer-orchestration

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

apache-airflow-providers-apache-flink

Provides Apache Airflow integration for Apache…

permissive · top 15,000 on PyPI

apache-airflow-providers-celery

Integrates Celery distributed task execution…

permissive · top 5,000 on PyPI

apache-airflow-providers-apache-spark

Integrates Apache Spark with Apache Airflow,…

permissive · top 5,000 on PyPI

apache-airflow-providers-apache-kafka

Integrates Apache Kafka with Apache Airflow,…

permissive · top 5,000 on PyPI

apache-airflow-providers-google

Integrates Apache Airflow with Google Cloud…

permissive · top 1,000 on PyPI

apache-airflow-providers-dbt-cloud

Integrates dbt Cloud with Apache Airflow,…

permissive · top 5,000 on PyPI

apache-airflow-providers-zendesk

Provides operators and hooks to integrate…

permissive · top 15,000 on PyPI

apache-airflow-providers-neo4j

Integrates Neo4j graph database operations into…

permissive · top 15,000 on PyPI

apache-airflow-providers-git

Integrates Git version control operations into…

permissive · top 15,000 on PyPI

apache-libcloud

Abstracts differences between cloud provider…

permissive · top 5,000 on PyPI