Hacker News Clone new | comments | show | ask | jobs | submit | github repologin
Ask HN: Why did K8s win against Docker Swarm?
11 points by r4victor 3 hours ago | hide | past | web | 3 comments | favorite





I don't think Swarm Mode failed. We are using it in production for 1000s of Hosts very reliably, it's a great piece of technology! :-)

K8s simply has all the hype and no one got fired for running k8s. I was thinking the same as you, k8s is quite complex, has a lot of options and moving parts which we don't need.


I agree - “failed” may be not the best word. I mean failed only compared to the k8s abundance.

Anyway, impressive scale for Swarm! Are there any crucial features you miss in Swarm?


It’s just one anecdote but I did run a Docker Swarm Classic cluster and a Kubernetes cluster for years on about 10 bare metal PCs in my worklab.

I initially preferred Docker Swarm for its simplicity, and most of the nodes were in the Swarm cluster.

But I quickly noticed ask issue: Docker Swarm had networking issues. I remember that I wasn’t alone experiencing network issues and disliking debugging with iptables.

Meanwhile, Kubernetes with the flannel CNI was super reliable. I actually ditched Docker Swarm for Rancher 1. It wasn’t based on Kubernetes at the time. It had some JVM based networking thing that worked but used a lot of CPU. We also had some Mesos testing.

Maybe the new Docker Swarm works, but it’s too late. Kubernetes won.

Kubernetes is more complex but tools like kompose makes the transition easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: