PLEASE NOTE: This document applies to v0.2 version and not to the latest release v0.5

Documentation for other releases can be found by using the version selector in the top right of any doc page.

Deploying a WordPress Workload on Microsoft Azure

This guide will walk you through how to use Crossplane to deploy a stateful workload in a portable way to Azure. In this environment, the following components will be dynamically provisioned and configured during this guide:


Before starting this guide, you should have already configured your Azure account for usage by Crossplane.

Administrator Tasks

This section covers the tasks performed by the cluster or cloud administrator, which includes:

Note: all artifacts created by the administrator are stored/hosted in the crossplane-system namespace, which has restricted access, i.e. Application Owner(s) should not have access to them.

For the next steps, make sure your kubectl context points to the cluster where Crossplane was deployed.

To recap the operations that we just performed as the administrator:

Application Developer Tasks

This section covers the tasks performed by the application developer, which includes:

Let’s begin deploying the workload as the application developer:


First delete the workload, which will delete Wordpress and the MySQL database:

kubectl delete -f cluster/examples/workloads/wordpress-azure/workload.yaml

Then delete the AKS cluster:

kubectl delete -f cluster/examples/workloads/wordpress-azure/cluster.yaml

Finally, delete the provider credentials:

kubectl delete -f cluster/examples/workloads/wordpress-azure/provider.yaml