<p>I've set a <strong>kubernetes</strong> cluster with master in <strong>high availability</strong>: 3 etcd nodes, 3 apiservers, 3 controller managers and 3 schedulers. There is a load balancer in front of the api servers. I see apiservers running as <strong>Active-Active</strong> while Controller Manager and Scheduler are working as <strong>Active/Standby</strong>. Does anyone know how to detect the active Controller Manager and Scheduler in a HA Master setup?</p>

<p>All the K8s infra components are managed by systemd not by dockerd.</p>

<p>Thanks.</p>

<p>In my case, retrieving the endpoints yaml and looking in the "holderIdentity" field of the "...kubernetes.io/leader" annotation.</p>
