Commit 6bf7914a authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #44594 from xiangpengzhao/describe-node-depre-phase

Automatic merge from submit-queue Delete deprecated node phase in kubect describe node. **What this PR does / why we need it**: Since NodePhase is no longer used, delete it in `kubect describe node` result. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: ref: https://github.com/kubernetes/kubernetes/pull/44388 **Release note**: ```release-note NONE ```
parents 6bf9f2f0 10d60f61
......@@ -2121,7 +2121,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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment