# kube-rs/kube

Rust Kubernetes client and controller runtime

Repository: https://github.com/kube-rs/kube
Canonical: https://ross.abutalabs.com/products/kube
Homepage: https://kube.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: kubernetes, client, runtime, rust
Last push: 2026-08-04T19:14:52+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 82, longevity 100
- inputs: {"age_days": 2852, "days_push": 29, "days_rel": 42, "gap_med": 34.0, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3805, forks 415 (observed 2026-08-28T04:08:20.272299+00:00)

## What it is
kube is a Rust client for Kubernetes, modeled after client-go, with an async controller runtime inspired by controller-runtime and derive macros for CRDs inspired by kubebuilder. It is a CNCF Sandbox project providing generic abstractions for reflectors, controllers, and custom resource interfaces.

## Use cases
- write a Kubernetes controller in Rust
- interact with Kubernetes resources from Rust code
- build a Kubernetes operator for a custom resource
- watch and reflect cluster state like deployments or pods
- manage CRDs with typed Rust structs
- patch or delete pods programmatically

## When to choose
- you are building Kubernetes operators or controllers in Rust
- you need a typed, async client for the Kubernetes API
- you want kubebuilder-style CRD derive macros in Rust

## When to avoid
- you need a Go-based controller with the full controller-runtime ecosystem
- you only need to run kubectl commands from a shell
- your project does not use Rust

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, middleware, configuration-management, developer-tools
- domain: cloud-computing, infrastructure-as-code, developer-tools
- platform: rust, windows, cross-platform
- tags: kubernetes, controller-runtime, crd, client-go, cncf, async, operators, devops, containers, linux, macos

## Member repositories
- kube-rs/kube (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:20.272299+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:47.300851+00:00, confidence not recorded.
  - readme: https://github.com/kube-rs/kube (fetched 2026-08-28T04:08:20.272299+00:00, sha 54d4dd44d608)
  - homepage: https://kube.rs (fetched 2026-08-29T09:21:40.211947+00:00, sha 2210ad9418f2)
  - site_page: https://kube.rs/getting-started (fetched 2026-08-29T09:21:40.220820+00:00, sha a99d547afa73)
  - registry_crates: https://crates.io/api/v1/crates/kube (fetched 2026-08-29T09:21:40.223024+00:00, sha 3f9c0a90fb4f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
