Fix case of Age column in kubectl describe node

Kubernetes-commit: df1955208b9a1950b79630b2fe88376452d70e02
This commit is contained in:
bl-ue 2020-11-30 14:06:34 -05:00 committed by Kubernetes Publisher
parent 02378167fe
commit 91c5000b38
1 changed files with 1 additions and 1 deletions

View File

@ -3886,7 +3886,7 @@ func describeHorizontalPodAutoscalerV1(hpa *autoscalingv1.HorizontalPodAutoscale
func describeNodeResource(nodeNonTerminatedPodsList *corev1.PodList, node *corev1.Node, w PrefixWriter) {
w.Write(LEVEL_0, "Non-terminated Pods:\t(%d in total)\n", len(nodeNonTerminatedPodsList.Items))
w.Write(LEVEL_1, "Namespace\tName\t\tCPU Requests\tCPU Limits\tMemory Requests\tMemory Limits\tAGE\n")
w.Write(LEVEL_1, "Namespace\tName\t\tCPU Requests\tCPU Limits\tMemory Requests\tMemory Limits\tAge\n")
w.Write(LEVEL_1, "---------\t----\t\t------------\t----------\t---------------\t-------------\t---\n")
allocatable := node.Status.Capacity
if len(node.Status.Allocatable) > 0 {