Chapter 67: Docker Swarm vs Kubernetes: the Same App on Both, Side by Side
Ekach orders app aapan aadhi Docker Swarm var chalvu aani mag Kubernetes var. Donhi kade scale, rolling update, secret aani health check karun baghu. Shevti donhi tools chi side-by-side tulana karu, mhanje interview madhe aani project madhe kontha tool kadhi nivadaycha he spashta kalel.
What you will learn in this chapter
- Create a Docker Swarm with managers and workers and understand Raft quorum
- Deploy, scale, update and roll back a stack on Swarm with secrets and health checks
- Deploy the identical app on Kubernetes with kind and the same image
- Compare scheduling, scaling, updates, networking, storage, secrets and ecosystem side by side
- Choose the right orchestrator for a team and migrate a Swarm stack to Kubernetes
Concepts in this chapter
- 67.1Docker Swarm from zero: managers, workers, Raft and your first service
- 67.2Deploy the orders app on Swarm: stack file, secrets, health checks, scaling and rolling updates
- 67.3The same app on Kubernetes: kind cluster, Deployment, StatefulSet, Secret, scaling and rollouts
- 67.4Side by side: scaling, updates, self-healing, networking, storage, secrets and config compared
- 67.5Choosing and migrating: when Swarm fits, when Kubernetes wins, and moving a stack across
The chapter recap is at the end of the last concept page.