delete a deployment k8s code example
Example 1: how to delete deployments in kubernetes
kubectl delete deployment yourDeploymentName
Example 2: how to delete services in kubernetes
kubectl delete services yourServiceNameHere
kubectl delete deployment yourDeploymentName
kubectl delete services yourServiceNameHere