k9s
k9s copied to clipboard
Missing xr command for :xray
Describe the bug
I don't know how to use the :xray
command. I've installed k9s and I use it on mac. I don't know what the backing command for 'xr' is and googling 'k9s xr' or 'k9s xray' etc. did not yield much.
I'd like the documentation updated to clarify what I should install specifically? I.e. using homebrew to install a package.
To Reproduce Steps to reproduce the behaviour:
- Run
:xray
- See cow
- Google for 'xr xray k9s' and never come across anything explaining this error etc.
Expected behaviour
I'd like the documentation updated to clarify what I should install specifically? I.e. using homebrew to install a package.
In the end, I'd like to get the feature working as demonstrated on the k9scli.io docs site.
Screenshots
Versions (please complete the following information):
- OS: macOS Big Sur 11.6.4
- K9s: v0.24.14
- K8s: xxx
Additional context
I would like to see a doc page for this somewhere.
Hey @Nitrodist! the x-ray command allows you to view resources in a tree style view
The usage is :xray [Resource]
for example if you use :xray deployment
you would see all of your deployments in a tree style list with their linked services, secrets, config maps, etc. These items also act as shortcuts to go directly to that item. This can be very convenient for getting a "whole picture" view of your resource. I do agree that there isn't a lot of documentation around this feature other than a one line blurb on the readme. I did find a video that may give you a little more info: https://youtu.be/jovHiTobzKQ?t=11m57s
Hope this helps!
I mean, what is the backing command?
As far as I know, there isn't one, this feature is unique to k9s. Its just another way to view your kubernetes resources
Running :xray
by itself won't work, you need to add the resource type you want to view aka :xray deployment
or :xray dp
for short