#post
k9s-inspect-a-deployment
- If “Context:” in the top left needs to change, search
:context
, select the correct one and hitenter
- Search
:deployment
(or just:deploy
), select the one you want and hitenter
- Select a pod, then press
l
to tail its container logs - Hit
esc
anytime to go back/up a level
To inspect a pod:
d
to describe the pody
to view the pod’s YAML configl
to view the pod’s container logss
to shell into the pod (ctrl-d
to exit)
Benefits over Argo:
- Refreshes every 2 seconds
- Can shell into container quickly from same UI if necessary to answer questions
- Vim motions and keyboard quickness, baby
TODO in a separate note:
- How to shell into a container to run inspection commands
?
on any resource shows the applicable keymaps