From 4bf740287087120ff9c34c7a8a49851323c47e6c Mon Sep 17 00:00:00 2001 From: Julien Ponge Date: Thu, 19 Mar 2020 22:39:44 +0100 Subject: [PATCH] Show port column for services The port column is at least as important as the service age, so this shows it by default rather than in the wide mode. This also mimics the output one can get with: kubectl get services Signed-off-by: Julien Ponge --- internal/render/svc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/render/svc.go b/internal/render/svc.go index 5f274e58..62d7b43b 100644 --- a/internal/render/svc.go +++ b/internal/render/svc.go @@ -29,7 +29,7 @@ func (Service) Header(ns string) Header { HeaderColumn{Name: "CLUSTER-IP"}, HeaderColumn{Name: "EXTERNAL-IP"}, HeaderColumn{Name: "SELECTOR", Wide: true}, - HeaderColumn{Name: "PORTS", Wide: true}, + HeaderColumn{Name: "PORTS", Wide: false}, HeaderColumn{Name: "LABELS", Wide: true}, HeaderColumn{Name: "VALID", Wide: true}, HeaderColumn{Name: "AGE", Time: true, Decorator: AgeDecorator},