$npx skillfedfor your agent

kubernetes-asyncio

Kubernetes Asynchronous Python Client

With conditionsPyPI UtilitiesReleased Jun 202621.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kubernetes_asyncio-36.1.0-py3-none-any.whl
v36.1.0 · released 2026-06-04 · Python >=3.10 · 6 runtime deps: aiohttp, certifi, python-dateutil, pyyaml, six, urllib3

Yes, if you need async Kubernetes API access in Python 3.10+. The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. It is a direct fit for async-first applications; if your workload is synchronous or requires earlier Python versions, alternatives may be more suitable.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10+.
  • On Windows with client-go credential plugins, ProactorEventLoop must be explicitly set via asyncio.set_event_loop_policy().
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.

last release 2026-06-04 (71 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 21,434,572 downloads/mo, #1,002 on PyPI

Verify before relying

pip install kubernetes_asyncio

import asyncio
from kubernetes_asyncio import client, config
from kubernetes_asyncio.client.api_client import ApiClient

async def main():
    await config.load_kube_config()
    async with ApiClient() as api:
        v1 = client.CoreV1Api(api)
        ret = await v1.list_pod_for_all_namespaces()
        for pod in ret.items:
            print(pod.metadata.name)

asyncio.run(main())
  • Feature parity with the synchronous kubernetes client and which Kubernetes API versions are fully supported.
  • Performance characteristics and concurrency limits when handling large numbers of simultaneous API requests.
  • Whether all Kubernetes API endpoints are covered or if some operations require falling back to synchronous alternatives.
Same gist for agents: .md · .json

What it is and what it does

kubernetes_asyncio is an asynchronous Python client for the Kubernetes API, built using the OpenAPI generator to mirror the structure of the official synchronous client but with async/await support throughout. It allows developers to interact with Kubernetes clusters without blocking the event loop, making it suitable for concurrent operations like watching multiple resources, tailing pod logs, or orchestrating many API calls in parallel.

The library handles Kubernetes configuration loading, API client lifecycle management, and provides typed access to Kubernetes API groups. Dependencies include aiohttp for HTTP requests, pyyaml for config parsing, and standard utilities like certifi, urllib3, python-dateutil, and six. It targets modern Python versions and is versioned to align with Kubernetes release cycles.

Use it for

  • Building event-driven Kubernetes operators or controllers that need to react to cluster changes without blocking.
  • Concurrent pod log streaming or multi-resource watching from a single Python process.
  • Orchestrating bulk Kubernetes operations with async concurrency without thread pools.
  • Integrating Kubernetes API calls into async web frameworks or async task queues.
  • Writing integration tests that need to poll Kubernetes state asynchronously while running other async tasks.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need async Kubernetes API access in Python 3.10+.

The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. It is a direct fit for async-first applications; if your workload is synchronous or requires earlier Python versions, alternatives may be more suitable.

Install

kubernetes-asyncio on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is active with a recent release within 71 days. Requires Python 3.10 or later.

Requires Python 3.10+. On Windows with client-go credential plugins, ProactorEventLoop must be explicitly set via asyncio.set_event_loop_policy().

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install kubernetes_asyncio

import asyncio
from kubernetes_asyncio import client, config
from kubernetes_asyncio.client.api_client import ApiClient

async def main():
    await config.load_kube_config()
    async with ApiClient() as api:
        v1 = client.CoreV1Api(api)
        ret = await v1.list_pod_for_all_namespaces()
        for pod in ret.items:
            print(pod.metadata.name)

asyncio.run(main())

Verify before relying

  • Feature parity with the synchronous kubernetes client and which Kubernetes API versions are fully supported.
  • Performance characteristics and concurrency limits when handling large numbers of simultaneous API requests.
  • Whether all Kubernetes API endpoints are covered or if some operations require falling back to synchronous alternatives.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
aiohttpcertifipython-dateutilpyyamlsixurllib3
MaintenanceActively maintained 71 days since the last release
First released
Downloads21,434,572 / month, #1,002 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Utilities

Evidence: kubernetes_asyncio-36.1.0-py3-none-any.whl

Tags

Capabilities
kubernetes async clientasyncio kubernetes apinon-blocking k8s pythonkubernetes async python libraryasync kubernetes cluster managementkubernetes coroutine clientasync k8s api wrapper
Topics
async-iokubernetescontainer-orchestration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kubernetes async client”

  • kubernetes-asyncioAsynchronous Python client for the Kubernetes API, enabling…
  • kr8sA Python client library for Kubernetes that mirrors kubectl's command…
  • kubernetesProvides a Python interface to the Kubernetes API, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also kubernetes · openshift · kr8s · k8 · pykube-ng · portforward · caio · sqlite-anyio · eks-token · openshift-client