Re: [kubernetes-users] Is there a way to know the current leader in a Kubernetes HA cluster?

2017-02-15 Thread Qian Zhang
Thanks Jerzy! Thanks, Qian Zhang On Tue, Feb 14, 2017 at 10:18 PM, 'Jerzy Szczepkowski' via Kubernetes user discussion and Q wrote: > You can get it from endpoints resource. The endpoint should have an > annotation pointing to the leader. > > $ kubectl get

[kubernetes-users] How best to do dynamic reconfiguration triggered by HPA activity

2017-02-15 Thread dan . gardner
I am struggling to find what most people do to automatically reconfigure a running deployment based on the number of pods & their IPs, particularly as an HPA scales it up and down. I know I'm still a k8s nube so still feel a little overwhelmed by the volume of documentation and new stuff I'm