#!/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 Database Service kubectl delete -f db-service.yaml # Delete the Database Deployment kubectl delete -f db-deployment.yaml # Delete the namespace kukubectl delete namespace my-namespace