Edith Puclla:
with grace period:
k delete pod --force --grace--period=0
Error: unknown flag: --grace--period
See 'kubectl delete --help' for usage.
Edith Puclla:
with grace period:
k delete pod --force --grace--period=0
Error: unknown flag: --grace--period
See 'kubectl delete --help' for usage.
Edith Puclla:
Okie, I was using a incorrect command, this is the correct one:
kubectl delete pods ubuntu-sleeper-pod --grace-period=0 --force
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
pod “ubuntu-sleeper-pod” force deleted
Tej_Singh_Rana:
Yeah, even you don’t need to use --grace-period=0
in a new version of k8s.
Try it.
Madhan Kumar:
–now