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 <jponge@redhat.com>
mine
parent
2e05367256
commit
4bf7402870
|
|
@ -29,7 +29,7 @@ func (Service) Header(ns string) Header {
|
||||||
HeaderColumn{Name: "CLUSTER-IP"},
|
HeaderColumn{Name: "CLUSTER-IP"},
|
||||||
HeaderColumn{Name: "EXTERNAL-IP"},
|
HeaderColumn{Name: "EXTERNAL-IP"},
|
||||||
HeaderColumn{Name: "SELECTOR", Wide: true},
|
HeaderColumn{Name: "SELECTOR", Wide: true},
|
||||||
HeaderColumn{Name: "PORTS", Wide: true},
|
HeaderColumn{Name: "PORTS", Wide: false},
|
||||||
HeaderColumn{Name: "LABELS", Wide: true},
|
HeaderColumn{Name: "LABELS", Wide: true},
|
||||||
HeaderColumn{Name: "VALID", Wide: true},
|
HeaderColumn{Name: "VALID", Wide: true},
|
||||||
HeaderColumn{Name: "AGE", Time: true, Decorator: AgeDecorator},
|
HeaderColumn{Name: "AGE", Time: true, Decorator: AgeDecorator},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue