News for hackers. Stuff that matters.
Re:The Basics: Kubernetes, Mesosphere, and Docker Swarm by justinsb on Wednesday February 15, 2017 @09:10PM (#13657339)
I think this was true around kubernetes 1.2, but is no longer the case. etcd is natively HA. kube-apiserver is effectively stateless by virtue of storing state in etcd, so you can run multiple copies for HA. kube-scheduler & kube-controller-manager have control loops that assume they are the sole controller, so they use leader-election backed by etcd: for HA you run multiple copies and they fail-over automatically. kubelet & kube-proxy run per-node so the required HA behaviour is simply that they connect to a different apiserver in the event of failure (via load-balancer or DNS, as you prefer).

kube-dns is an application on k8s, so it uses scale-out and k8s services for HA, like applications do. And I agree that it is important, I don't know of any installations that don't include it.

I think the right things have been built. We do need to do a better job documenting this though!

Re:The Basics: Kubernetes, Mesosphere, and Docker Swarm by ovidiup on Wednesday February 15, 2017 @09:13PM (#13657348)
Great, thanks for the update! I'll update my deployment towards the end of spring, hopefully that's not going to be too painful.
Re:The Basics: Kubernetes, Mesosphere, and Docker Swarm by snambi on Thursday February 16, 2017 @12:27AM (#13657940)
etcd itself cannot be horizontally scaled because of the architecture. etcd's leader model cannot allow you to go beyond a certain number of nodes in cluster. The leader would be overloaded.
Re:The Basics: Kubernetes, Mesosphere, and Docker Swarm by untoreh on Friday February 17, 2017 @05:47AM (#13667353)
I think federation allows to scale horizontally above the limitation of a single etcd cluster. OTOH The fact that zk/etcd/consul are all leader-based is probably the reason flynn "simply" uses postgres