.#!/usr/bin/env bash set -e echo "Stopping Notes App..." kubectl delete -f k8s/deployment.yaml --ignore-not-found kubectl delete -f k8s/service.yaml --ignore-not-found kubectl delete -f k8s/statefulset.yaml --ignore-not-found kubectl delete -f k8s/configmap.yaml --ignore-not-found echo "App stopped. Namespace and volumes are preserved."