News for hackers. Stuff that matters.
Re:Kubernetes Journey – How to setup the HAProxy Cluster wit... by wtarreau on Thursday February 27, 2020 @08:08AM (#22432863)
That's exatcly in order to blow in this fog that you want to install a layer7 load balancer designed with observability in mind. Seeing what's happening is critical when everything changes by itself under your feed. With a component like haproxy you get accurate and detailed information about what's happening and the cause of occasional failures allowing you to address them before they become the new standard.
Re:Kubernetes Journey – How to setup the HAProxy Cluster wit... by tyingq on Thursday February 27, 2020 @08:15AM (#22432929)
That explains nginx. Running a corosync cluster inside a k8s cluster, with a separate pacemaker cluster resource plane, etc, though. No thanks.
Re:Kubernetes Journey – How to setup the HAProxy Cluster wit... by darkwater on Thursday February 27, 2020 @08:37AM (#22433083)
1000 times this. Corosync and pacemaker alone are more or less as complex as K8S itself. Well, I'm exaggerating a bit but really, all the HA clusters that I saw, done with corosync in the past 10 years ended up failing anyway (and with fireworks!) one way or another. Add this on top of Kubernetes? No, thanks. Life is stressful enough.
Re:Kubernetes Journey – How to setup the HAProxy Cluster wit... by jskrablin on Thursday February 27, 2020 @08:57AM (#22433231)
Yup. Corosync + Pacemaker can and will implode in a spectacular fashion exactly when you don't want it to. And 2 node cluster will split brain sooner rather than later. I'd rather use keepalived if required, since it's a lot easier to understand and manage.