Delivering modern cloud-native applications with open source technologies on Azure Kubernetes Service
Delete application stack to clean up any loadbalancer
services.
kubectl delete -f demo/dev/app.manifests.yaml
kubectl delete -f demo/boutiqueshop/boutique-app.manifests.yaml
kubectl delete svc yaobank-customer -n yaobank
curl -O https://installer.calicocloud.io/manifests/v3.11.1-1/downgrade.sh
b. Make the script executable.
chmod +x downgrade.sh
c. Run the script and read the help to determine if you need to specify any flags.
./downgrade.sh --help
d. Run the script with any needed flags, for example:
./downgrade.sh --remove-prometheus --remove-all-calico-policy
Delete AKS cluster.
az aks delete --name $CLUSTERNAME --resource-group $RGNAME
az aks delete --name $OSSCLUSTERNAME --resource-group $RGNAME
Delete the azure resource group.
az group delete --resource-group $RGNAME