The goals of this challenge include understanding:
Your challenge is to:
Now that your cluster is running, we want to deploy a sample app to the cluster. We’re going to use a tool called a deployment script to do this. Fortunately, the heavy lifting has been done for you!
Remember when we covered modules back in Challenge 6? We created our own modules. But there are also public modules you can use. For this challenge, we’re going to use a module called AKS Run Command Script
, which allows you to run a command on a Kubernetes cluster by calling a deployment script under the covers.
You can find the module and how to use it here: AKS Run Command Script
Thus, your challenge is to:
Update your bicep file to leverage the “AKS Run Command Script” module, and have it run the following command which will deploy a sample application to the cluster:
kubectl apply -f https://raw.githubusercontent.com/Azure-Samples/azure-voting-app-redis/master/azure-vote-all-in-one-redis.yaml