mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Merge pull request #8853 from caesarxuchao/HostToNodeName
update PodSpec.Host to PodSpec.NodeName
This commit is contained in:
@@ -408,7 +408,7 @@ func printPod(pod *api.Pod, w io.Writer, withNamespace bool) error {
|
||||
name,
|
||||
pod.Status.PodIP,
|
||||
"", "",
|
||||
podHostString(pod.Spec.Host, pod.Status.HostIP),
|
||||
podHostString(pod.Spec.NodeName, pod.Status.HostIP),
|
||||
formatLabels(pod.Labels),
|
||||
pod.Status.Phase,
|
||||
translateTimestamp(pod.CreationTimestamp),
|
||||
|
||||
Reference in New Issue
Block a user