command to cleanup all deployments from kubernetes code example
Example 1: how to delete deployments in kubernetes
kubectl delete deployment yourDeploymentName
Example 2: delete a deployment in kubernetes
$ kubectl delete deploy/<deployment_name>