28 stable releases (8 major)
8.0.0 | Oct 13, 2022 |
---|---|
7.0.1 | Sep 2, 2022 |
7.0.0 | Jun 29, 2022 |
6.1.0 | Jun 15, 2022 |
0.2.3 | Feb 12, 2020 |
#129 in Rust patterns
6,024 downloads per month
Used in 3 crates
185KB
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
~7–17MB
~313K SLoC