Merge pull request #21116 from wawa0210/enhance-terminationmessage-size
Added description about the size of terminationMessage file
This commit is contained in:
commit
409243673d
|
|
@ -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
|
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.
|
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
|
In the following example, the container writes termination messages to
|
||||||
`/tmp/my-log` for Kubernetes to retrieve:
|
`/tmp/my-log` for Kubernetes to retrieve:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue