Setting up WordPress with a Kubernetes cluster
In this recipe, we will use the WordPress example given in the Kubernetes GitHub (https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/mysql-wordpress-pd). The given example requires some changes, as we'll be running it on the Vagrant environment instead of the default Google Compute engine. Also, instead of using the helper functions (for example,
<kubernetes>/cluster/kubectl.sh), we'll log in to master and use the
- Make sure the Kubernetes cluster has been set up as described in the previous recipe.
- In the
kubernetesdirectory that was downloaded during the setup, you will find an examples directory that contains many examples. Let's go to the