From 69da51dcc7c65e022caf8298b04261942b3e6bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20Ladomirj=C3=A1k?= Date: Sun, 17 Apr 2022 17:27:55 +0000 Subject: [PATCH] Add 'z2/stop-app.sh' --- z2/stop-app.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 z2/stop-app.sh diff --git a/z2/stop-app.sh b/z2/stop-app.sh new file mode 100644 index 0000000..f3f1356 --- /dev/null +++ b/z2/stop-app.sh @@ -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 \ No newline at end of file