sk1/remove-app.sh

14 lines
376 B
Bash
Raw Normal View History

2023-05-13 17:15:43 +00:00
#!/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