Kubernetes - kubectl Essential Commands
You want to debug a pod that crashed and restarted. Which command shows logs from the previous container instance?
--previous flag fetches logs from the last terminated container instance.--follow streams current logs, --tail=10 shows last 10 lines, and -c previous is invalid container name usage.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions