14 lines
376 B
Bash
14 lines
376 B
Bash
|
#!/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
|