k9s
k9s copied to clipboard
View node label under pod view
I am trying to figure out if there is a way to create a custom view so that I can see a node label under the pods view. Specifically, I would like to see the floor_name when looking at pods. Below is my views.yaml config for viewing the label under the nodes view. Any way to do this under pods view or is this a feature request?
views:
v1/pods:
columns:
- NODE
v1/nodes:
sortColumn: MACHINE:asc
columns:
- MACHINE:.metadata.labels.floor_name
@rshanor Right this is not currently possible as you are trying to join 2 separate resources aka pod and node. Pod resources only track node names at this juncture. You can use cmd o to jump to the associated node to see the labels.