Hi, I have installed RKE and running single master + worker cluster setup. But I’m facing frequent restart issue of Kube-control manager/Kube-scheduler. I have investigated and found that these restarts are happening due to frequent leader-election.
So, I want to disable the leader election as I am using single master. Could you please help me how can I do that?
I have tried to do “leader-elect=false” in “/etc/kubernetes/ssl/kubecfg-kube-controller-manager.yaml” file, but not succeeded (may be I’m doing wrong). Please guide me How can I set this parameter or disable leader election?