In this example, we are deploying a WordPress application, which is a Vplatform for creating websites and blogs. WordPress uses MySQL single instance as its database with persistent volumes dynamically provisioned by PowerFlex CSI driver. The storage class used by PowerFlex CSI is vxflexos. Since the application is already in the Google marketplace, deploying the WordPress application requires just a few mouse clicks.
For more information about WordPress, see WordPress.
Note: Since this is a sample workload, the free WordPress application is chosen for demonstration purposes.
Figure 14: WordPress selection wizard
Figure 15: Application configuration
Examples to enter the details:
Figure 16: Successful deployment of WordPress application
Note: Since the WordPress pods run inside the GKE on-premises cluster virtual machines, you will not see any additional virtual machines in vCenter when this application is deployed on a VMware based Anthos cluster.
Figure 17: Persistent volume verification
Figure 18: WordPress application WebUI
Select a deployed application and edit it to change the value of replica set. In this example, the WordPress application is a stateful set, and replica set value edited to five for WordPress and MySQL deployment. The default sample application deployed one replica each for WordPress and MySQL stateful set as shown in Figure 19.
Figure 19: Application scaling
The Persistent volumes for new instances are dynamically scaled based on the replica set inputs as follows:
Figure 20: Persistent volumes scaled as per application