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.
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.
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?
For better or worse Kubernetes is capable of handling any edge case you could possibly throw at it.
The ecosystem of helper tools (load balancers, secrets control, etc) is also huge and well supported.
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.
K8 is basically a translation layer whereas swarm is still docker.