Delete deprecated node phase in kubect describe node.

This commit is contained in:
xiangpengzhao 2017-04-11 16:40:27 +08:00
parent e58d3dbf06
commit 10d60f615b
No known key found for this signature in database
GPG Key ID: A9FD03A856417C5B

View File

@ -2034,7 +2034,6 @@ func describeNode(node *api.Node, nodeNonTerminatedPodsList *api.PodList, events
printAnnotationsMultiline(w, "Annotations", node.Annotations)
printNodeTaintsMultiline(w, "Taints", node.Spec.Taints)
w.Write(LEVEL_0, "CreationTimestamp:\t%s\n", node.CreationTimestamp.Time.Format(time.RFC1123Z))
w.Write(LEVEL_0, "Phase:\t%v\n", node.Status.Phase)
if len(node.Status.Conditions) > 0 {
w.Write(LEVEL_0, "Conditions:\n Type\tStatus\tLastHeartbeatTime\tLastTransitionTime\tReason\tMessage\n")
w.Write(LEVEL_1, "----\t------\t-----------------\t------------------\t------\t-------\n")