Skip to content

Latest commit

 

History

History

mysql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Guide

  1. Create Namespace
kubectl create namespace mysql-server
  1. Create Persistent storage PVC
kubectl apply -f pvc.yml
  1. Create the configuration
kubectl create configmap mysql-config --from-file=main-config=my-custom.cnf -n mysql-server
  1. Create Deployment
kubectl apply -f .

You can check if everything is okay by running

kubectl get svc -n mysql-server