Add 'z2/stop-app.sh'

This commit is contained in:
Ondrej Ladomirják 2022-04-17 17:27:55 +00:00
parent 2d253bdfbd
commit 69da51dcc7

8
z2/stop-app.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
set -e
kubectl delete statefulset.apps/mongodb -n z2
kubectl delete deployment.apps/mongo-express-deployment -n z2
kubectl delete service/mongo-express-service -n z2
kubectl delete service/mongo-service -n z2
kubectl delete configmap/mongo-configmap -n z2