# Which command would you use to delete a pod named 'nginx' immediately without a grace period?

Kubernetes, Medium (Advanced), Commands. https://k8wiz.com/uquiz/which-command-would-you-use-to-delete-a-pod-named-nginx-immediately-without-a-grace-period

- A. kubectl delete pod nginx
- B. kubectl delete pod nginx --now
- C. kubectl delete pod nginx --force
- D. kubectl delete pod nginx --grace-period=0 --force

**Answer:** kubectl delete pod nginx --grace-period=0 --force

**Explanation:** The 'kubectl delete pod nginx --grace-period=0 --force' command forcefully and immediately deletes the pod without waiting for the normal graceful termination period. This should be used with caution as it may cause data corruption or unexpected behavior.
