Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.12 KB

File metadata and controls

50 lines (41 loc) · 1.12 KB

Scalable and Persistent MySQL Deployment Using Kubernetes StatefulSets

Description

This project demonstrates the use of Kubernetes StatefulSets to run a reliable MySQL database. It includes persistent volume claims, headless services, and scaling behavior while ensuring data remains intact across pod restarts.

Tools and Technologies

  • Kubernetes
  • StatefulSets
  • MySQL
  • PersistentVolumeClaims (PVCs)
  • Headless Service
  • kubectl
  • YAML
  • StorageClass

Project Walk-through

Set Up Headless Service & Configure StorageClass


Deploy MySQL StatefulSet


Test Data Persistence


Scale StatefulSet


Patch (Update) the StatefulSet


Check Pod DNS and Connectivity