35 stable releases (12 major)
13.1.0 | Jul 23, 2024 |
---|---|
12.0.0 | Sep 20, 2023 |
11.0.0 | Sep 19, 2023 |
10.1.0 | Aug 29, 2023 |
0.2.3 | Feb 12, 2020 |
#160 in Rust patterns
5,284 downloads per month
Used in 4 crates
210KB
5.5K
SLoC
Kubernetes Rust Client
This is similar to Kubernetes Go Client: https://github.com/kubernetes/client-go
Example of using the client:
use k8_client::K8Client;
use k8_obj_core::pod::{PodSpec,PodStatus};
async fn main() {
let client = K8Client::default().expect("cluster not initialized");
let pod_items = client.retrieve_items::<PodSpec,_>("default").await.expect("pods should exist");
for pod in pod_items.items {
println!("pod: {:#?}",pod);
}
}
License
This project is licensed under the Apache license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Fluvio by you, shall be licensed as Apache, without any additional terms or conditions.
Dependencies
~8–23MB
~378K SLoC