mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #73836 from Random-Liu/clarify-hostname-in-cri
Clarify hostname emptiness in CRI.
This commit is contained in:
commit
5bedff6625
@ -736,7 +736,8 @@ type PodSandboxConfig struct {
|
||||
// operation. The runtime may also use this information to improve UX, such
|
||||
// as by constructing a readable name.
|
||||
Metadata *PodSandboxMetadata `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
|
||||
// Hostname of the sandbox.
|
||||
// Hostname of the sandbox. Hostname could only be empty when the pod
|
||||
// network namespace is NODE.
|
||||
Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
||||
// Path to the directory on the host in which container log files are
|
||||
// stored.
|
||||
|
@ -313,7 +313,8 @@ message PodSandboxConfig {
|
||||
// operation. The runtime may also use this information to improve UX, such
|
||||
// as by constructing a readable name.
|
||||
PodSandboxMetadata metadata = 1;
|
||||
// Hostname of the sandbox.
|
||||
// Hostname of the sandbox. Hostname could only be empty when the pod
|
||||
// network namespace is NODE.
|
||||
string hostname = 2;
|
||||
// Path to the directory on the host in which container log files are
|
||||
// stored.
|
||||
|
Loading…
Reference in New Issue
Block a user