This document compares Docker Swarm and Kubernetes on various factors such as installation, scalability, load balancing, updates and rollbacks. Docker Swarm installation and setup is simpler requiring only 2 commands, while Kubernetes setup is more challenging. Kubernetes provides built-in features for logging, monitoring, load balancing and auto-scaling, while Docker Swarm requires third party tools. Both orchestrators can provide high availability, but Kubernetes can support larger and more complex architectures with its stronger cluster capabilities and backing from the Cloud Native Computing Foundation.
Kubernetes vs Docker Swarm | Container Orchestration War | Kubernetes Training | Edureka
1. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Agenda
❑ What Is Artificial Intelligence ?
❑ What Is Machine Learning ?
❑ Limitations Of Machine Learning
❑ Deep Learning To The Rescue
❑ What Is Deep Learning ?
❑ Deep Learning Applications
3. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
Kubernetes vs. Docker Swarm
ADSSDF
K U B E R N E T E S
• Created & maintained by Docker inc.
• Developer community not as big as K8s
• Preferred for simple architecture
• Better when 10-20 containers are in prod
• Created by Google; now maintained by CNCF
• Backed by huge developer community
• Preferable for complex architecture
• Better when 100s-1000s containers are in prod
Note: Both, Kubernetes & Docker Swarm are Container Orchestration tools.
4. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
1 → Installation & Cluster Configuration
ADSSDF
K U B E R N E T E S
Setting up the cluster is simple.
Requires only 2 commands
Setting up the cluster is
challenging & complicated
Cluster Strength not as strongCluster Strength is stronger
5. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
2 → GUI
ADSSDF
K U B E R N E T E S
There is no GUI available.
Provides a GUI
(Kubernetes Dashboard).
With GUI, apps can be easily:
• Scaled
• Deployed
6. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
3 → Scalability
ADSSDF
K U B E R N E T E S
Scaling up is 5x faster
than Kubernetes
Scaling up is easy
7. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
4 → Auto-Scaling
ADSSDF
K U B E R N E T E S
Scaling up or scaling
down has to be done
manually
Based on server traffic,
containers will be scaled
automatically by
Kubernetes
8. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
5 → Load Balancing
ADSSDF
K U B E R N E T E S
Swarm does auto load
balancing
Manual configuration
needed for load
balancing traffic
9. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
6 → Rolling Updates & Rollbacks
ADSSDF
K U B E R N E T E S
• Rolling updates progressively
updates the containers one after
the other while ensuring HA
• No automatic Rollbacks
• Rolling updates progressively
updates the Pods one after the
other while ensuring HA
• Automatic Rollbacks in case of
failure
10. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
7 → Data Volumes
ADSSDF
K U B E R N E T E S
Storage Volumes can be
shared with any other
container in the node
Storage Volumes
shared only between
containers within the
same Pod
POD
Container
Container
11. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
8 → Logging & Monitoring
ADSSDF
K U B E R N E T E S
3rd party logging & monitoring
tools should be used
In-built logging and
monitoring tools in place
12. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Kubernetes vs. Docker Swarm Mindshare
Reference: https://platform9.com/blog/kubernetes-docker-swarm-compared/
15. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
D O C K E R S WA R M
8 → Logging & Monitoring
ADSSDF
K U B E R N E T E S
3rd party logging & monitoring
tools should be used
In-built logging and
monitoring tools in place