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