From 64184e18a9f04ec4574b30e70d46bf64ea9179fe Mon Sep 17 00:00:00 2001 From: Rajesh Putta Venkata Date: Tue, 7 Jan 2025 09:53:21 -0800 Subject: [PATCH] For etcd metrics, specify explictily proxy steps are only for stacked etcd (#9131) * For etcd metrics, specify explictily proxy steps are only for stacked setup * Update docs/content/en/docs/clustermgmt/observability/expose-metrics.md Co-authored-by: Chris Negus --------- Co-authored-by: Chris Negus --- .../en/docs/clustermgmt/observability/expose-metrics.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/en/docs/clustermgmt/observability/expose-metrics.md b/docs/content/en/docs/clustermgmt/observability/expose-metrics.md index b055d27857b9..57ab5d50c12e 100644 --- a/docs/content/en/docs/clustermgmt/observability/expose-metrics.md +++ b/docs/content/en/docs/clustermgmt/observability/expose-metrics.md @@ -7,7 +7,9 @@ description: > Expose metrics for EKS Anywhere components --- -Some Kubernetes system components like kube-controller-manager, kube-scheduler, kube-proxy and etcd (Stacked) expose metrics only on the localhost by default. In order to expose metrics for these components so that other monitoring systems like Prometheus can scrape them, you can deploy a proxy as a Daemonset on the host network of the nodes. The proxy pods also need to be configured with control plane tolerations so that they can be scheduled on the control plane nodes. For Unstacked/External etcd, metrics are already exposed on `https://:2379/metrics` endpoint and can be scraped by Prometheus directly without deploying anything. +Some Kubernetes system components like kube-controller-manager, kube-scheduler, kube-proxy and etcd (Stacked) expose metrics only on the localhost by default. In order to expose metrics for these components so that other monitoring systems like Prometheus can scrape them, you can deploy a proxy as a Daemonset on the host network of the nodes. The proxy pods also need to be configured with control plane tolerations so that they can be scheduled on the control plane nodes. + +For etcd metrics, the steps outlined below are applicable only for stacked etcd setup. For Unstacked/External etcd, metrics are already exposed on `https://:2379/metrics` endpoint and can be scraped by Prometheus directly without deploying a proxy. ### Configure Proxy