diff --git a/content/en/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md b/content/en/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md index 44b4225fdc..6910b25ce0 100644 --- a/content/en/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md +++ b/content/en/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md @@ -82,6 +82,11 @@ value of `/dev/termination-log`. By customizing this field, you can tell Kuberne to use a different file. Kubernetes use the contents from the specified file to populate the Container's status message on both success and failure. +The termination message is intended to be brief final status, such as an assertion failure message. +The kubelet truncates messages that are longer than 4096 bytes. The total message length across all +containers will be limited to 12KiB. The default termination message path is `/dev/termination-log`. +You cannot set the termination message path after a Pod is launched + In the following example, the container writes termination messages to `/tmp/my-log` for Kubernetes to retrieve: