#!/bin/bash echo "Deleting Services for MySQL, backend, and frontend..." kubectl delete -f service.yaml -n battleship-app echo "Deleting StatefulSet for MySQL..." kubectl delete -f statefulset.yaml -n battleship-app echo "Deleting Deployments for backend and frontend..." kubectl delete -f deployment.yaml -n battleship-app echo "Deleting namespace battleship-app (and all objects within it)..." kubectl delete -f namespace.yaml echo "Application completely removed from Kubernetes."