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