Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: views.yaml columns not respected on startup #2449

Closed
edosrecki opened this issue Jan 9, 2024 · 1 comment
Closed

[Bug]: views.yaml columns not respected on startup #2449

edosrecki opened this issue Jan 9, 2024 · 1 comment
Labels
bug Something isn't working InProgress Marks an issue has being worked on

Comments

@edosrecki
Copy link




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

  1. Create k9s/views.yaml:
views:
  v1/pods:
    columns:
      - NAME
      - NAMESPACE
      - STATUS
      - READY
      - RESTARTS
      - AGE
  1. Start k9s with k9s --comand pods
  2. Observe that default set of columns is shown, instead of ones specified in views.yaml.
  3. Type :pods command.
  4. Observe that columns specified in views.yaml are 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
@edosrecki edosrecki changed the title [Bug]: views.yaml columns not respected on default screen [Bug]: views.yaml columns not respected on startup Jan 9, 2024
@EigoOda
Copy link

EigoOda commented Jan 9, 2024

same issue with the following versions.

  • OS: MacOS 13.6.3
  • k9s: 0.31.1
  • k9s: 1.24.17

@derailed derailed added bug Something isn't working InProgress Marks an issue has being worked on labels Jan 9, 2024
derailed added a commit that referenced this issue Jan 9, 2024
thejoeejoee pushed a commit to thejoeejoee/k9s that referenced this issue Feb 23, 2024
* [Bug] Fix derailed#2428

* fix derailed#2446

* fix derailed#2449

* schemas updates

* Add debug info

* v0.31.2 rel notes
placintaalexandru pushed a commit to placintaalexandru/k9s that referenced this issue Apr 3, 2024
* [Bug] Fix derailed#2428

* fix derailed#2446

* fix derailed#2449

* schemas updates

* Add debug info

* v0.31.2 rel notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working InProgress Marks an issue has being worked on
Projects
None yet
Development

No branches or pull requests

3 participants