Add 'z2/stop-app.sh'
This commit is contained in:
parent
2d253bdfbd
commit
69da51dcc7
8
z2/stop-app.sh
Normal file
8
z2/stop-app.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user