z2/stop-app.sh
2025-04-15 20:11:51 +00:00

14 lines
247 B
Bash

#!/bin/bash
# Delete the Deployment
kubectl delete -f deployment.yaml
# Delete the Service
kubectl delete -f service.yaml
# Delete the StatefulSet
kubectl delete -f statefulset.yaml
# Delete the namespace
kubectl delete namespace my-namespace