Exposing WordPress through the preconfigured ingress controller

Install WordPress from the managed applications, and expose it through the preconfigured ingress controller by setting the chart parameters.

  • You have a project with a deployed Kubernetes cluster in the Ready status.
  • The repository that contains the WordPress managed application is enabled. For more information, see Public and private repositories in Applications.
  1. Add WordPress to a catalog, and bind the catalog to your project.

    For more information, see Adding an application to a catalog and Binding projects to a catalog in Applications.

  2. Set the ingress parameters on the catalog application.
    1. Set ingress.enabled to true.
    2. Set ingress.ingressClassName to ccf. You must set this parameter to ccf so that the preconfigured ingress controller handles the traffic.
    3. Set the host name or domain that you want to use, as described in Ingress host names.

    For more information, see Setting up application parameters in Applications. Ensure that these values are correct, so that users can access the service externally.

  3. Optional: Set up DNS.

    Point your DNS records to the bastion IP address of your cluster. If you do not have a custom domain, use an sslip.io wildcard domain, which resolves automatically. For example, for the IP address 192.0.2.1, use 192-0-2-1.sslip.io.

  4. Install WordPress on the project.

    For more information, see Installing an application on a project in Applications. After the installation finishes, the Installation step shows the Helm chart notes, including the WordPress URL.

  5. Open the WordPress URL, and verify that the application runs and is accessible from the internet.

The WordPress site loads at your host name, and the WordPress administration login page is available.