Skip to content

Commit

Permalink
For etcd metrics, specify explictily proxy steps are only for stacked…
Browse files Browse the repository at this point in the history
… 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 <[email protected]>

---------

Co-authored-by: Chris Negus <[email protected]>
  • Loading branch information
rajeshvenkata and chrisnegus authored Jan 7, 2025
1 parent 73e7cc6 commit 64184e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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://<etcd-machine-ip>: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://<etcd-machine-ip>:2379/metrics` endpoint and can be scraped by Prometheus directly without deploying a proxy.

### Configure Proxy

Expand Down

0 comments on commit 64184e1

Please sign in to comment.