kubectl deleting a deployment code example Example: delete a deployment in kubernetes $ kubectl delete deploy/<deployment_name>