kube-rs/kube

Rust Kubernetes client and controller runtime

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on September 18th, 2026
Created on November 11th, 2018
Open Issues & Pull Requests: 134 (+0)
GitHub issues: Enabled
Number of forks: 419
Total Stargazers: 3,825 (+0)
Total Subscribers: 29 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.7 hours
Mean response time: 32.9 days
90th percentile: 53.1 days
Tracked items: 151

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 59% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 82% of issues opened in the past year have been closed, leaving a working backlog. Three people close 88% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 39
New in 7 days: 2
Closed in 7 days: 3
Avg open age: 813 days
Stale 30+ days: 30
Stale 90+ days: 27

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 2
Events in 7 days: 7

Top labels

  • bug (57)
  • help wanted (27)
  • client (20)
  • runtime (19)
  • question (16)
  • automation (7)
  • dependencies (7)
  • api (6)

Detailed Description

kube-rs is a Rust client library and controller runtime for Kubernetes that provides generic abstractions over the Kubernetes API in the style of client-go, with a runtime inspired by controller-runtime and derive macros for custom resource definitions modeled after kubebuilder.

The library solves the problem of building Kubernetes applications in Rust by abstracting away the complexity of API interactions, resource watching, and controller patterns. It builds on Kubernetes apimachinery and API concepts to enable reflectors, controllers, and custom resource interfaces. The Api type provides generic interaction with Kubernetes resources, while the runtime module handles watch operations, resource versioning, and storage bookkeeping that would otherwise require manual implementation. Custom resources are defined through proc macros that automatically generate wrapper structs from annotated spec structs, eliminating boilerplate code generation.

Developers should choose this tool if they are building Kubernetes operators, controllers, or other applications that need to interact with the Kubernetes API from Rust. It suits projects ranging from lightweight reflectors to complex controllers managing custom resources. The library requires careful version alignment between kube, k8s-openapi, and schemars to match the target Kubernetes version, which is documented in the project's upgrading guide. The derive feature can be disabled if schema generation is not needed, allowing for lighter dependencies in simpler applications.

The project maintains detailed documentation at kube.rs alongside API docs, with an examples directory demonstrating usage patterns and real-world adopters listed publicly. The upgrading guide and changelog provide clear migration paths for version transitions, with noteworthy changes highlighted in releases. The project is hosted by the CNCF as a Sandbox Project.