Deploy multi-tier application 1
- Deploy WordPress and MySQL on kubernetes cluster.
These are the pods, deployments and services of mysql and wordpress
This is wordpress application deployed on kubernetes.
Task by trainer:-
Create a Namespace and Deploy deployment of wordpress application and MySQL in that namespace and also create secret in that namespace for store MySQL password and use that secret in wordpress and mysql deployments:
i) Namespace name -> wordpress
ii) Deployment name for
WordPress -> wordpress
MySQL -> mysql
iii) Use images:
WordPress -> wordpress:4.8-apache
MySQL -> mysql:5.6
iv) Service name:
For Mysql -> mysql
For WordPress -> wordpress
v) Secret name for MySQL -> mysql-secret