I've set a kubernetes cluster with master in high availability: 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 Active-Active while Controller Manager and Scheduler are working as Active/Standby. Does anyone know how to detect the active Controller Manager and Scheduler in a HA Master setup?
All the K8s infra components are managed by systemd not by dockerd.
Thanks.
In my case, retrieving the endpoints yaml and looking in the "holderIdentity" field of the "...kubernetes.io/leader" annotation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With