$ kube-core

v3.0.0MAJOR UPDATE

Kube shared types, traits and client-less behavior

Downloads: 36.2M
Recent: 7.5M
Versions: 65
Updated: January 12, 2026

Latest Update Summary

Crate

Name: kube-core New version: 3.0.0 Release date: 2026-01-12T08:52:23.101715Z

Crate readme

Short description A Rust client for Kubernetes in the style of a more generic client-go.

Long description Kube-rs is a Rust client for Kubernetes that provides a runtime abstraction inspired by controller-runtime and includes a derive macro for Custom Resource Definitions (CRDs). It allows Rust developers to easily interact with Kubernetes resources using abstractions that reinterpret reflectors, controllers, and custom resource interfaces. The crate is compatible with various Kubernetes API versions and focuses on enabling generic abstractions through the Kubernetes API machinery.

Features • runtime • derive • k8s-openapi support • no_std compatibility • TLS options with rustls and openssl

Code Examples Add to Cargo.toml

 [dependencies]
kube = { version = "3.0.0", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.27.0", features = ["latest", "schemars"] }
schemars = { version = "1" }

Using the Api type

 use k8s_openapi::api::core::v1::Pod;
let pods: Api<Pod> = Api::default_namespaced(client);

let pod = pods.get("blog").await?;

Custom Resource Definitions Example

 #[derive(CustomResource, Debug, Serialize, Deserialize, Default, Clone, JsonSchema)]
#[kube(group = "kube.rs", version = "v1", kind = "Document", namespaced)]
pub struct DocumentSpec {
    title: String,
    content: String,
};

Linkshttps://crates.io/crates/kubehttps://kube.rshttps://docs.rs/kube/https://github.com/kube-rs/kube/releaseshttps://kube.rs/changelog/

https://api.github.com/repos/kube-rs/kube/releases/246871033

Release info

Release version:

Release description

Code Examples

Major update: 2.0.1 → 3.0.0

$ DOWNLOADS TREND

28.4M36.2M

$ VERSION HISTORY

v3.0.0January 12, 2026
v2.0.1September 12, 2025

$ LINKS

$ INSTALL

cargo add kube-core

Or add to Cargo.toml: kube-core = "3.0.0"