Load the config file
export KUBECONFIG=/<path>/<kubectl-config.cfg>
Verify nodes
kubectl get nodes
Download yaml packages for WordPress
wget https://kubernetes.io/examples/application/wordpress/mysql-deployment.yaml wget https://kubernetes.io/examples/application/wordpress/wordpress-deployment.yaml
Set secret for DB access
kubectl create secret generic mysql-pass --from-literal=password=<password>
Create deployment from downloaded yaml
kubectl create -f mysql-deployment.yaml kubectl create -f wordpress-deployment.yaml
Verify port binding
get services wordpress
Connect with browser
http://<ip>:<port>