Skip to content

Sharathchandra3/wordpress-mysql-k8s-deployment

Repository files navigation

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.

About

Deploying WordPress with a MySQL database on Kubernetes using Persistent Volumes, Secrets, and ConfigMaps for a production-ready setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors