Getting Started¶
-
Create a new Azure account or choose an existing one, as you prefer.
-
Open a new tab to Azure Cloud Shell. You can click here.
-
Clone the repo:
git clone https://github.com/azure/aks-ctf.git && cd aks-ctf/workshop
-
Enable the AKS Resource Provider:
az provider register --namespace Microsoft.ContainerService
- Once inside the Cloud Shell terminal, run setup.sh. This should create a new Project with a single-node Kubernetes cluster that contains the prerequisites for the workshop:
./setup.sh
The script will prompt you for a project name (just hit enter to accept the default) and a password for your webshell instances.
- When the script is finished, verify it worked correctly.
kubectl get pods --namespace dev
The output should look similar to this:
NAME READY STATUS RESTARTS AGE
insecure-app-674cf64dd-qf7md 1/1 Running 0 63m
If it looks good, move on to Scenario 1 Attack.