StatefulSets & Headless Services Demo with MySQL DB | Todo Application
- Learn why StatefulSets are needed in Kubernetes
- Deployments vs StatefulSets
- Headless Services and their need with StatefulSets
- Stateless vs Stateful Apps
- Headless vs ClusterIP Service
- Volumes, PV, PVC and Storage Class
- MySQL StatefulSet through Helm Charts
Repo link: https://github.com/kunchalavikram1427/StatefulSets_demo.git
Timestamps
00:00 - Start
02:50 - Sample Todo Application
03:34 - Pod to Pod Communication & Pod DNS(A/AAAA Records)
15:00 - DNS Resolution through CodeDNS
18:27 - Using Services
19:59 - Need for Stateful Applications like DBs
23:50 - Headless Services
34:58 - Stateless vs Stateful Applications
39:22 - Statefulsets
40:31 - Data Replication Challenges for DBs
47:00 - Data Replication in Deployment vs StatefulSets
48:10 - Sticky Identities in StatefulSets
52:00 - Using Headless Services with StatefulSets
57:20 - Stable & Persistent Storage in StatefulSets
01:06:11 - Volumes, PV, PVC, Storage Class, emptyDir, hostPath
01:23:11 - PV Access Modes
01:26:00 - PV Reclaim Policy
01:29:00 - VolumeClaimTemplates n StatefulSets
01:31:41 - Demo
For DevOps training, connect with us on
Join our Telegram group: https://t.me/devopsmadeeasy
Join this channel to get access to perks:
https://www.youtube.com/channel/UCE1cGZfooxT7-VbqVbuKjMg/join