piotrpdev / kuby

Very simple CLI visualization of Kubernetes resources.
0 stars 1 forks source link

Add spec/status split view #4

Closed piotrpdev closed 1 year ago

piotrpdev commented 1 year ago

kubectl get pods -o yaml displays three main fields: metadata, spec and status. Add a view that split this yaml, puts spec on one side of the terminal and 'status' on the other side.

Maybe use the -w flag to watch for changes:

Note: The kubectl get command is usually used for retrieving one or more resources of the same resource type. It features a rich set of flags that allows you to customize the output format using the -o or --output flag, for example. You can specify the -w or --watch flag to start watching updates to a particular object. - kubectl docs

piotrpdev commented 1 year ago

Resolved, might implement -w later.