-
Create a patch file named
etcd-metrics-patch.yaml
that exposes the etcd metrics endpoint onport:2381
, accessible from all network interfaces -
Create a
CP_IPS
variable that contains the IP addresses of your control plane nodes: -
Ensure you are in your project’s directory and apply the
etcd-metrics-patch.yaml
patch to your control plane nodes.Note: You can also export yourTALOSCONFIG
variable and then remove the--talosconfig=./talosconfig
flag in the patch command above. -
Reboot the nodes.
Note that if you have only one control plane node, rebooting it will cause cluster downtime.
-
After the node reboots, run the following command to confirm that the etcd metrics endpoint is accessible:
- Secure your control plane IP addresses to prevent public access. See the Ingress Firewall guide for instructions on securing your control plane.