Extract from web on Kubernetes vs Docker Swarm
1 Blog on hackernoon.com
An in-depth comparison between kubernetes and docker swarm is available online. I have not verfified the claims made in this blog. hakernoon.com
Features | Kubernetes | Docker Swarm |
---|---|---|
Installation | Complex install but a strong | Simple install but resulting |
resultant cluster once up | cluster not as strong | |
GUI | Comes with a built-in | There is no Dashboard so mgt is complex |
dashboard | ||
Scalability | Highly scalable service that can | Very high scalability. Up to 5 times |
scale with the needs. 5000 node | more scalable than K8. 1000 node | |
clusters with 150,000 pods | clusters with 30,000 containers | |
Load | Manual load balancing to balance | Can execute auto load balancing of |
Balancing | traffic between different | traffic between containers in the same |
containers in different pods | cluster | |
Rollbacks | Automatic rollbacks with ability | Automatic rollback facility available |
to deploy rolling updates | in Docker 17.04 and later if a service | |
update fails to deploy | ||
Logging and | Inbuilt tools available for | No built-in tools. Need 3rd party |
Monitoring | logging and monitoring | tools, but these are available |
Node Support | Up to 5,000 nodes | Up to 2000+ nodes |
Networking | An overlay network is used which | The Docker daemons is connected by an |
lets pods communicate across | overlay network and the overlay network | |
multiple nodes | driver is used. | |
Availability | Higly available. Health checks | Highly available. Containers restarted |
performed directly on the pods | on a new host if a host failure occurs |
1.1 Pros of Kubernetes
- Open source and modular solution
- Ability to run on any sort of operating system
- Easy organization of service with pods
- Developed by Google, who bring years of valuable industry experience to the table
1.2 Cons of Kubernetes
- The installation and configuration can prove to be too complex for first timers
- Not compatible with any existing Docker CLI and Compose tools
1.3 Pros of Docker Swarm
- Efficient and easier initial set up
- Integrates and works with existing Docker tools
- Lightweight installation
- Open source solution
1.4 Cons of Docker Swarm
- Limited functionality as per the availability in the Docker API
- Limited fault tolerance
1.5 Final Verdict — Kubernetes or Docker Swarm?
According to the above mentioned blog, Kubernetes is a superior and stronger market competitor today.