Summary
In this module, you deployed an application as a Deployment with a static replica count. We discussed why this situation might be challenging for workloads that process events and have fluctuating resource needs. After looking at the options for your scenario, you determined that using KEDA with a scaler for the Redis list would help autoscale in an efficient and effective manner.
Delete Azure resources
When you're done with the resources you created in this module, delete them to avoid incurring charges.
Navigate to the Azure portal. 1 Select Resource groups and select the resource group you created for this module.
Under Overview, select Delete resource group.
Enter the resource group name to confirm and select Delete to delete all of the resources you created in this module.
Select Delete again to confirm deletion.
Remove the cluster's context using the
kubectl config delete-context
command. Make sure you replace the name of the cluster with your cluster's name.kubectl config delete-context CLUSTER_NAME
Your output should look similar to the following example output:
deleted context aks-contoso-video from /home/user/.kube/config
Learn more
To learn more about AKS, see the following articles:
- AKS documentation
- Introduction to AKS
- Prepare an application for AKS
- Deploy an AKS cluster
- HTTP application routing
- AKS scaling options
- KEDA documentation
- AKS cluster autoscaling
- Kubernetes horizontal pod scaling (HPA)