QuestionQ45

VerifiedKubernetes Fundamentals

Which of the following displays a snapshot of logs from the previously terminated ruby container in Pod web-1?

Explanation

kubectl logs -p retrieves logs from a container's previous terminated instance, while -c ruby identifies the ruby container in Pod web-1.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!