Skip to content

ebd622/wordpress-k8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

wordpress-k8

Kubernetes challenge - Wordpress App. This is the solution for the Wordpress App challenge which has been described in https://kodekloud.com/

It can be deployed in any Kebernetes cluster.

The architecture specified in the challenge

Solution

1. Deploy PV for wordpress

kubectl create -f pv-wordpress.yaml

2. Deploy PVC for wordpress

kubectl create -f pvc-wordpress.yaml

3. Deploy PV for mysql

kubectl create -f pv-mysql.yaml

4. Deploy PVC for mysql

kubectl create -f pvc-mysql.yaml

5. Create a secret

kubectl create secret generic mysql-pass --from-literal=password=admin --from-literal=host=wordpress-mysql

6. Deploy mysql

kubectl create -f mysql-deploy.yaml

7. Deploy service wordpress-mysql

kubectl create -f svc-wp-mysql.yaml

8. Deploy application wordpress

kubectl create -f wordpress-deploy.yaml

9. Deploy service wordpress

kubectl create -f svc-wp.yaml

About

Kubernetes challenge - Wordpress App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors