Part 2: Provision
What Will You Do¶
In this part of the self-paced exercise, you will configure the SOM automation in order to provision an Azure AKS cluster and other environment resources.
Step 1: Provision Environment Resources¶
- In the forked repo, navigate to the "aks" directory
- Open the file “provision_aks.ps1”
- Click "Edit this file"
- In the “Populate Variables” section, follow the steps to populate the needed values
- Once the values are populated, click "Commit changes"
- Once committed, go to the "Actions" tab in GitHub. You will see the workflow running.
- Click on the running workflow, click "build" to see the workflow output
- The workflow will take roughly 15 minutes to provision all resources. You can monitor the workflow job output and the Rafay console to see the resources being provisioned.
Recap¶
As of this step, the automation has created a new project in your organization along with custom groups and users. It has also provisioned an AKS cluster with a custom cluster blueprint that contains a custom PSP OPA policy. The needed resources to backup and restore from an Azure storage container have been created. You can manually execute a backup job to begin backing up to Azure.