Actualizar 'scripts/stop-app.sh'

This commit is contained in:
Lopera Mendizabal 2024-04-18 16:00:37 +00:00
parent 58b39aa84e
commit 9eac2c9431

View File

@ -0,0 +1,15 @@
#!/bin/bash
cd ../shoptfront-productcatalogue-stockmanager-kubernetes
# Eliminar despliegues en Kubernetes
echo "Deleting deployments from Kubernetes..."
kubectl delete -f shoptfront-deployment.yaml
kubectl delete -f productcatalogue-deployment.yaml
kubectl delete -f stockmanager-deployment.yaml
# Eliminar imágenes Docker
echo "Removing Docker images..."
docker rmi microservicio1
docker rmi microservicio2
docker rmi microservicio3