#!/bin/bash set -e kubectl delete -f service.yaml --ignore-not-found=true kubectl delete -f deployment.yaml --ignore-not-found=true kubectl delete -f statefulset.yaml --ignore-not-found=true kubectl delete namespace z2app --ignore-not-found=true echo "Application stopped."