#!/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