mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #112977 from mimowo/oomkilled-standardization
Documentation for the CRI API reason field to standardize the field for containers terminated by OOM killer
This commit is contained in:
commit
2d88d2d993
@ -5665,6 +5665,7 @@ type ContainerStatus struct {
|
||||
// image ID
|
||||
ImageRef string `protobuf:"bytes,9,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`
|
||||
// Brief CamelCase string explaining why container is in its current state.
|
||||
// Must be set to "OOMKilled" for containers terminated by cgroup-based Out-of-Memory killer.
|
||||
Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"`
|
||||
// Human-readable message indicating details about why container is in its
|
||||
// current state.
|
||||
|
@ -1211,6 +1211,7 @@ message ContainerStatus {
|
||||
// image ID
|
||||
string image_ref = 9;
|
||||
// Brief CamelCase string explaining why container is in its current state.
|
||||
// Must be set to "OOMKilled" for containers terminated by cgroup-based Out-of-Memory killer.
|
||||
string reason = 10;
|
||||
// Human-readable message indicating details about why container is in its
|
||||
// current state.
|
||||
|
Loading…
Reference in New Issue
Block a user