Deploying WordPress

Following are the steps to deploy WordPress:

  1. Run the following command to install WordPress:
helm install azure/wordpress --name osba-quickstart --namespace osba-quickstart
  1. Run the following command to know when WordPress is ready:
 kubectl get deploy osba-quickstart-wordpress -n osba-quickstart -w

NAME                        DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
osba-quickstart-wordpress   1         1         1            0           1m
...
osba-quickstart-wordpress   1         1         1            1           2m
In case you run into Not able to schedule pod problem, use the kubectl edit deploy/osba-quickstart-wordpress -n osba-quickstart command and set the replicas to 1 (you can refer to Chapter 6, Monitoring the AKS Cluster and the Application, for more information).
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset