kubectl force apply pod code example
Example 1: force delete pod kubernetes
kubectl delete pods <pod> --grace-period=0 --force
Example 2: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
kubectl delete pods <pod> --grace-period=0 --force
kubectl rollout restart deployment yourDeploymentName