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