Skip to content

Commit

Permalink
fix: Delete AKS cluster separately
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Mar 19, 2024
1 parent 2053f82 commit 57374da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-to-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ jobs:
run: kubectl -n kubeflow get pods | tail -n +2 | grep CrashLoopBackOff | awk '{print $1}' | xargs -n1 kubectl -n kubeflow logs --all-containers=true --tail 100
if: failure()

- name: Delete AKS resource group
- name: Delete AKS cluster
if: always()
run: az aks delete --resource-group ${{ env.RESOURCE_GROUP }} --name ${{ env.NAME }} --yes

- name: Delete resource group
if: always()
run: az group delete --name ${{ env.RESOURCE_GROUP }} --yes

0 comments on commit 57374da

Please sign in to comment.