{"categories":[{"label":"Distributed Computing","url":"https://skillfed.io/packages/category/system-distributed-computing"}],"enrichment":{"capability":"A Python client library for Kubernetes that mirrors kubectl's command patterns, offering both sync and async APIs to query, create, and manage cluster resources.","skillfed_tags":["kubernetes","devops-automation","async-ready"],"use_cases":["Automate cluster operations (scaling deployments, cordoning nodes, adding labels) in Python scripts or applications.","Build monitoring or admin dashboards that query Kubernetes resources without learning the raw API.","Execute commands in pods or set up port forwards programmatically for debugging or data transfer.","Write integration tests that create, inspect, and clean up Kubernetes resources in a familiar syntax.","Migrate kubectl workflows into Python-based CI/CD pipelines or infrastructure-as-code tools."],"what_it_does":"kr8s is a Python client for Kubernetes designed to feel familiar to users of kubectl. Instead of wrestling with Swagger-generated code or low-level API calls, you work with human-readable objects and methods that mirror kubectl's command structure. It handles authentication with sensible defaults, reducing boilerplate setup.\n\nThe library provides both synchronous and asynchronous APIs (compatible with asyncio and trio), client-side caching to avoid redundant API calls, and batteries-included utilities for common tasks like pod execution, port forwarding, node cordoning, and deployment scaling. You can list resources with label selectors, generate objects from templates, and manipulate cluster state in a Pythonic way.","worth_installing":"Yes. kr8s is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a real problem\u2014making Kubernetes automation accessible to Python developers without requiring deep API knowledge. The kubectl-inspired design and async support make it suitable for both simple scripts and production automation."},"id":"kr8s","links":{"html":"https://skillfed.io/packages/kr8s","md":"https://skillfed.io/packages/kr8s.md","pypi":"https://pypi.org/project/kr8s/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-16","license_spdx":null,"license_treatment":"permissive","name":"kr8s","python_support":"supports_current","summary":"A Kubernetes API library"},"popularity":{"monthly_downloads":912699,"position":4741,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.20.15"}
