Edith Puclla:
Hello , what these flags do?
alias kdp='kubectl delete pod --force --grace--period=0'
why I canโt delete the pod just with :
kubectl delete pod my-pod
Edith Puclla:
Hello , what these flags do?
alias kdp='kubectl delete pod --force --grace--period=0'
why I canโt delete the pod just with :
kubectl delete pod my-pod
Sanjay Kumar:
@Edith Puclla - Sometimes pod can take time to delete and by that time you cannot perform anything on terminal until that command complete. So in that case you can force the deletion of pod with immediately using grace period flag.
Sanjay Kumar:
Yes that is where it will save some time.
Madhan Kumar:
kubectl delete pod foo --now