Re: Leader election in Kubernetes control plane

2018-02-20 Thread Clayton Coleman
In 3.6 you can look at which master is using the most memory (the passive controllers won’t use much at all). You can also do a GET /controllers against :8444 which returns 200 if this is the active controller, or 404 (iirc) otherwise. That’s been removed though in newer versions in favor of the

Re: Leader election in Kubernetes control plane

2018-02-20 Thread Srinivas Naga Kotaru (skotaru)
Thanks, that make sense. We are using 3.6 currently -- Srinivas Kotaru On 2/20/18, 9:46 PM, "Takayoshi Kimura" wrote: In 3.7+ "oc get cm openshift-master-controllers -n kube-system -o yaml" you can see the annotation described in that article. Regards, Takayoshi On

Re: Leader election in Kubernetes control plane

2018-02-20 Thread Takayoshi Kimura
In 3.7+ "oc get cm openshift-master-controllers -n kube-system -o yaml" you can see the annotation described in that article. Regards, Takayoshi On Wed, 21 Feb 2018 14:37:32 +0900, "Srinivas Naga Kotaru (skotaru)" wrote: > > It has just client-ca-file. We have 3 masters in each cluster. not su

Re: Leader election in Kubernetes control plane

2018-02-20 Thread Srinivas Naga Kotaru (skotaru)
It has just client-ca-file. We have 3 masters in each cluster. not sure how to identify which control manager is active? I usually find which one’s is writing logs by using journalctl atomic-openshift-master-controllers.service. passive one’s don’t write or generate any logs. -- Srinivas Kotaru

Re: Ping to localhost(127.0.0.1) fails periodically on openshift node

2018-02-20 Thread J Dilipan
sorry, am a newbie here..Is this the right forum to post this question? If not, can you help me with the right alias. regards, Dilipan On Mon, Feb 19, 2018 at 7:26 PM J Dilipan wrote: > Hi Experts, > In my openshift setup, ping to localhost is failing...this is causing curl > localhost/healthz

Re: Leader election in Kubernetes control plane

2018-02-20 Thread Clayton Coleman
We use config maps - check in kube-system for that. On Feb 15, 2018, at 2:48 PM, Srinivas Naga Kotaru (skotaru) < skot...@cisco.com> wrote: while I was reading below article, I tried to do the same to find out which one is active control plane in Openshift. I could see zero end points in kube-sys