From b61ed2d8757b353e6e3932be1f657f996509fd78 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Thu, 10 Nov 2022 11:37:23 +0000 Subject: [PATCH 1/2] Fix autogenerated mark for instrumentation doc The https://k8s.io/docs/ website uses this marker to highlight that pages should not be directly edited in k/website --- test/instrumentation/documentation/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/instrumentation/documentation/main.go b/test/instrumentation/documentation/main.go index bcbbfe0ddc1..db314f13f05 100755 --- a/test/instrumentation/documentation/main.go +++ b/test/instrumentation/documentation/main.go @@ -44,7 +44,7 @@ const ( templ = `--- title: Kubernetes Metrics Reference content_type: reference -auto-generated: true +auto_generated: true description: >- Details of the metric data that Kubernetes components export. --- From 5ff160e98cff247106397f975ab2dc06c7652ff2 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Thu, 10 Nov 2022 11:39:02 +0000 Subject: [PATCH 2/2] Update generated Kubernetes Metrics Reference --- test/instrumentation/documentation/documentation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/instrumentation/documentation/documentation.md b/test/instrumentation/documentation/documentation.md index 70f48ce97b6..d2f4dc75ce9 100644 --- a/test/instrumentation/documentation/documentation.md +++ b/test/instrumentation/documentation/documentation.md @@ -1,14 +1,14 @@ --- title: Kubernetes Metrics Reference content_type: reference -auto-generated: true +auto_generated: true description: >- Details of the metric data that Kubernetes components export. --- ## Metrics (v1.26) - + This page details the metrics that different Kubernetes components export. You can query the metrics endpoint for these components using an HTTP scrape, and fetch the current metrics data in Prometheus format.