Skip to content

Commit 425e0a8

Browse files
committed
Added description about the size of terminationMessage file
1 parent bcc8602 commit 425e0a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/en/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ value of `/dev/termination-log`. By customizing this field, you can tell Kuberne
8282
to use a different file. Kubernetes use the contents from the specified file to
8383
populate the Container's status message on both success and failure.
8484

85+
The termination message is intended to be brief final status, such as an assertion failure message.
86+
The kubelet truncates messages that are longer than 4096 bytes. The total message length across all
87+
containers will be limited to 12KiB. The default termination message path is `/dev/termination-log`.
88+
You cannot set the termination message path after a Pod is launched
89+
8590
In the following example, the container writes termination messages to
8691
`/tmp/my-log` for Kubernetes to retrieve:
8792

0 commit comments

Comments
 (0)