Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Jan 4, 2025
1 parent e9b2cab commit e8b4c18
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kubert/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,15 @@
//!
//! The **runtime-diagnostics** feature flag enables the `/kubert.json` local
//! admin endpoint. This endpoint provides a JSON representation of the current
//! state of each watch that has been initialized in the runtime.
//! state of each lease and watch that has been initialized in the runtime.
//!
//! curl 'http://localhost:8080/kubert.json'
//!
//! The endpoint also supports a `resources` query parameter, which causes
//! responses to enumerate all resources returned by the watch. These resources
//! are omitted by default, though their state can easily be compared via the
//! 'checksum' field.
//!
//! curl 'http://localhost:8080/kubert.json?resources'
//!
//! [`kube`]: https://github.com/kube-rs/kube-rs
Expand Down

0 comments on commit e8b4c18

Please sign in to comment.