Kubernetes 108: Deploy MySQL on kubernetes


Deploy MySQL on kubernetes


1- Create mysql-secret.

2- Create mysql-pvc.
3- Create mysql-deployment.
4-  Create mysql-service.
5- Create mysql-client to access mysql server.


1- Create MySQL Secret:






2- Create MySQL Volume Persistent:




3- Create MySQL Deployment:





4- Create MySQL Service:




## Mount path from Host & Image:







5- Create MySQL-Client to access MySQL Server.



6- Test MySQL :



7- Test select from DB by MySQL-Client:





8- Delete Deployment objects by name:



--------------------------------------------------------------------------------------------------
Good Luck https://www.linkedin.com/in/ahmedms/

Comments

Popular posts from this blog

Kubernetes 104: Create a 2-node k3s cluster with k3sup

Cisco Nexus: Configuration VXLAN.

How to configure OSPF on Palo Alto Networks Firewall?