kubernetes-hackfest

Delivering modern cloud-native applications with open source technologies on Azure Kubernetes Service

View the Project on GitHub Azure/kubernetes-hackfest

Calico cloud workshop on AKS

Calicocloud on AKS

Workshop cleanup

  1. 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
    
  2. Uninstall Calico Cloud from AKS cluster. a. Download the script.
    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
    
  3. Delete AKS cluster.

     az aks delete --name $CLUSTERNAME --resource-group $RGNAME
     az aks delete --name $OSSCLUSTERNAME --resource-group $RGNAME
    
  4. Delete the azure resource group.

     az group delete --resource-group $RGNAME