sk1/remove-app.sh
2023-05-13 19:15:43 +02:00

14 lines
376 B
Bash
Executable File

#!/bin/bash
# delete app objects
kubectl delete -f deployment.yaml
kubectl delete -f service.yaml
kubectl delete -f statefulset.yaml
kubectl delete secret mysql-secret -n ibanweb
kubectl delete namespace ibanweb
# Eliminar recurso AKS
az aks delete --name ibanapp --resource-group iban-app --yes
# Eliminar recurso de grupo de recursos
az group delete --name iban-app --yes