kubeadm control-plane metrics access
This directory is the tracked source for arschrock's kubeadm control-plane metrics configuration. It is intentionally not an Argo CD Application: these files configure the host's kubeadm-generated static pods, systemd, and iptables, which Argo CD cannot reconcile on the host.
Apply host changes only through the documented administrator procedure. Before
regenerating static pods, take and verify an etcd snapshot and keep a copy off
the control-plane host. Back up existing manifests outside
/etc/kubernetes/manifests; kubelet treats every non-dot file there as a
static-pod manifest.
The controller-manager and scheduler metrics endpoints use authenticated HTTPS.
Etcd's separate port 2381 is unauthenticated, so the systemd-managed firewall
restricts access to localhost and the trusted LAN (192.168.0.0/24). Prometheus is
currently scheduled on an Odroid node, and Cilium masquerades pod-to-node
connections to that node's address.
DHCP address changes within that LAN do not require firewall updates. Other networks remain blocked from the unauthenticated endpoint.
When adding control-plane nodes, apply the same kubeadm component arguments and firewall policy.