-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Bug]: views.yaml columns not respected on startup #2449
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I start k9s using default command (pods), or even explicitly specifying command (k9s -c pods), columns that I configured in views.yaml file are not respected. Instead I see a default set of columns. Then when I manually switch to pods view (:pods), columns that I defined are respected.
To Reproduce
- Create
k9s/views.yaml:
views:
v1/pods:
columns:
- NAME
- NAMESPACE
- STATUS
- READY
- RESTARTS
- AGE- Start k9s with
k9s --comand pods - Observe that default set of columns is shown, instead of ones specified in
views.yaml. - Type
:podscommand. - Observe that columns specified in
views.yamlare shown now.
Expected behavior
When k9s start up I expect it to immediately load resources with columns that I specified in views.yaml file.
Versions:
- OS: MacOS 14.2.1
- K9s: 0.31.1
- K8s: 1.26.11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
