"oc get all" command to display titles on headers for different sections

Solution In Progress - Updated -

Issue

  • Requesting formatting of oc get all to add titles to headers.

Current Output looks something like this:

NAME             LABELS                         SELECTOR     ....           
docker-registry   docker-registry=default  docker-registry=default   ....   
kubernetes        component=apiserver,provider=kubernetes   <none>    ....
kubernetes-ro     component=apiserver,provider=kubernetes   <none>   ....   
outer2            router=router2            router=router2       ........
NAME                            READY     REASON    RESTARTS   AGE  
docker-registry-1-2dy3k         1/1       Running   0          6m  
router2-1-25wwx                 1/1       Running   0          1d

Suggested output:

Services
NAME             LABELS                         SELECTOR     ....           
docker-registry   docker-registry=default  docker-registry=default   ....   
kubernetes        component=apiserver,provider=kubernetes   <none>    ....
kubernetes-ro     component=apiserver,provider=kubernetes   <none>   ....   

Pods 
NAME                            READY     REASON    RESTARTS   AGE  
docker-registry-1-2dy3k         1/1       Running   0          6m  
router2-1-25wwx                 1/1       Running   0          1d

Environment

Openshift Enterprise 3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content