Study. uk . com
  1. Home
  2. All questions
  3. Question 883

CKA study material · question 883 of 1000

From which path does the kubelet read a container's termination message by default?

  1. /var/log/termination.log
  2. /dev/termination-log
  3. /tmp/termination-log
  4. /var/lib/kubelet/termination
Show the answer

Answer: B. /dev/termination-log

/dev/termination-log is the default, changed with the container's terminationMessagePath field; the contents populate the container status on success and failure alike.

Source: Determine the Reason for Pod Failure (Kubernetes) — Customizing the termination message

Challenge yourself on this topic → Study as cards