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)" <[email protected]> wrote:
> 
> 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
> 
> From: Clayton Coleman <[email protected]>
> Date: Tuesday, February 20, 2018 at 9:29 PM
> To: Srinivas Naga Kotaru <[email protected]>
> Cc: dev <[email protected]>
> Subject: Re: Leader election in Kubernetes control plane
> 
> We use config maps - check in kube-system for that.
> 
> On Feb 15, 2018, at 2:48 PM, Srinivas Naga Kotaru (skotaru) 
> <[email protected]> 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-system name space. Am I missing something or not implemented in 
> Openshift?
> 
>     
> https://blog.heptio.com/leader-election-in-kubernetes-control-plane-heptioprotip-1ed9fb0f3e6d
> 
>     $oc project
>    
>     Using project "kube-system" on server
>    
>     $ oc get ep
>    
>     No resources found.
>    
>     $oc get all
>    
>     No resources found.
> 
>     -- 
>    
>     Srinivas Kotaru
>    
>     _______________________________________________
>     dev mailing list
>     [email protected]
>     http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> 
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to