#!/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