WordPress on Kubernetes with MySQL
This repository contains Kubernetes manifests to deploy WordPress with a MySQL database using persistent storage, secrets, and ConfigMaps. It demonstrates how to set up a production-like WordPress environment on Kubernetes with best practices for configuration and security.
📂 Repository Structure
manual-pv.yml → PersistentVolume definition (manual provisioning).
mysql-deployment-service.yml → MySQL Deployment + Service.
mysql-secret.yml → Kubernetes Secret for MySQL root password and credentials.
wordpress-configmap.yml → ConfigMap for WordPress configuration values.
wordpress-deployment-service.yml → WordPress Deployment + Service.
wp-mysql-pvc.yml → PersistentVolumeClaim for MySQL storage.
wp-namespace.yml → Dedicated Namespace for isolation.