This topic describes how to deploy WordPress applications in clusters of Alibaba Cloud Container Service for Kubernetes (ACK).

Prerequisites

An ACK cluster is created. For more information, see Create a managed ACK cluster.
Note You can deploy WordPress applications in only ACK cluster. ASK clusters are not supported.

Procedure

  1. Log on to the ACK console.
  2. In the left-side navigation pane, choose Marketplace > App Catalog.
  3. On the App Catalog page, click the App Hub tab. On the App Hub tab, enter wordpress into the Name bar and click the search icon on the right side of the page. Find and click wordpress 5.3.0.
    wordpress
  4. On the App Catalog - wordpress page, click the Parameter tab. Set the persistence parameter to false as shown in the following figures:
    • Set the persistence parameter in line 197 to false.1
    • Set the persistence parameter in line 323 to false.2
  5. In the Deploy section, set the Cluster, Namespace, and Release Name parameters, and click Create.
  6. In the left-side navigation pane, click Clusters.
  7. On the Clusters page, click the name of the target cluster or click Manage in the Actions column.
  8. In the left-side navigation pane, click Services.
  9. On the Services page, find the newly deployed application, and click the hyperlink in the External Endpoint column. The WordPress homepage appears.
    Note If you want to modify the parameters after the WordPress application is deployed, you can delete and redeploy it. In the left-side navigation pane, click Releases. On the Release page, click the Helm tab. On the Helm tab, find and delete the Helm chart of the target WordPress application. Then, follow the preceding steps to redeploy the WordPress application.
    hello world