Kubectl delete but ignore ones with error Kubectl delete but ignore ones with error jenkins jenkins

Kubectl delete but ignore ones with error


You can try using --ignore-not-found=true flag in command

kubectl delete deployments --ignore-not-found=true -n ${namespace} --all  --grace-period=10