From e8b4c18e9e25fdd6b3b576786b94cf3a1d7b96df Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Sat, 4 Jan 2025 19:14:23 +0000 Subject: [PATCH] docs --- kubert/src/lib.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kubert/src/lib.rs b/kubert/src/lib.rs index 2531bd2..fb85994 100644 --- a/kubert/src/lib.rs +++ b/kubert/src/lib.rs @@ -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