{"repo":"kube-rs/kube","free":true,"listed":false,"github":"https://github.com/kube-rs/kube","clone":"git clone https://github.com/kube-rs/kube.git","description":"Rust Kubernetes client and controller runtime","language":"Rust","stars":3802,"topics":["kubernetes","client","runtime","rust"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"kube-rs A Rust client for Kubernetes in the style of a more generic client-go, a runtime abstraction inspired by controller-runtime, and a derive macro for CRDs inspired by kubebuilder. Hosted by CNCF as a Sandbox Project. These crates build upon Kubernetes apimachinery + api concepts to enable generic abstractions. These abstractions allow Rust reinterpretations of reflectors, controllers, and custom resource interfaces, so that you can write applications easily. Installation Select a version of kube along matching versions of k8s-openapi and schemars for Kubernetes structs and matching schemas. See also historical Kubernetes versions. See features for a quick overview of default-enabled / opt-in functionality. You can remove schemars parts if you do not need the kube/derive feature. Upgrading See kube.rs/upgrading. Noteworthy changes are highlighted in releases, and archived in the changelog. Usage See the examples directory for how to use any of these crates. - kube API Docs - kube.rs Official examples: - version-rs: lightweight deployment reflector using axum - controller-rs: Controller of a crd inside actix For real world projects see ADOPTERS. Api The Api is what interacts with Kubernetes resources, and is generic over Resource : See the examples ending in api examples for more detail. Custom Resource Definitions Working with custom resources uses automatic code-generation via proc macros in kube-derive. You need to add #[derive(CustomResource, JsonSchema)] and some #[k","default_branch":null,"files":null,"tree":[],"storefront":"/r/kube-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kube-rs/kube/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}