diff --git a/pkg/kubectl/cmd/cmd_test.go b/pkg/kubectl/cmd/cmd_test.go index e9f7157345..7c9a8e463a 100644 --- a/pkg/kubectl/cmd/cmd_test.go +++ b/pkg/kubectl/cmd/cmd_test.go @@ -309,7 +309,7 @@ func ExamplePrintPodWithWideFormat() { fmt.Printf("Unexpected error: %v", err) } // Output: - // NAME READY REASON RESTARTS AGE NODE + // NAME READY STATUS RESTARTS AGE NODE // test1 1/2 podPhase 6 292y kubernetes-minion-abcd } diff --git a/pkg/kubectl/resource_printer.go b/pkg/kubectl/resource_printer.go index eb116b8aa0..52856b08fa 100644 --- a/pkg/kubectl/resource_printer.go +++ b/pkg/kubectl/resource_printer.go @@ -255,7 +255,7 @@ func (h *HumanReadablePrinter) HandledResources() []string { return keys } -var podColumns = []string{"NAME", "READY", "REASON", "RESTARTS", "AGE"} +var podColumns = []string{"NAME", "READY", "STATUS", "RESTARTS", "AGE"} var podTemplateColumns = []string{"TEMPLATE", "CONTAINER(S)", "IMAGE(S)", "PODLABELS"} var replicationControllerColumns = []string{"CONTROLLER", "CONTAINER(S)", "IMAGE(S)", "SELECTOR", "REPLICAS"} var serviceColumns = []string{"NAME", "LABELS", "SELECTOR", "IP(S)", "PORT(S)"}