8000 Custom View Column Mismatch in K9s: Shuffled Values in Pods View · Issue #3120 · derailed/k9s · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Custom View Column Mismatch in K9s: Shuffled Values in Pods View #3120
Closed
@gregorlogar991

Description

@gregorlogar991




Describe the bug
When setting a custom view for K9s, such as the following command, the values in the columns are shuffled. For example, the "NAME" field displays the namespace, while the "NODE" field displays the pod name, and so on.

To Reproduce
Steps to reproduce the behavior:

  1. Set up a custom view command as follows:
   views:
     v1/pods:
       sortColumn: AGE:asc
       columns:
         - AGE
         - NAME

Open K9s and navigate to the pods view (view is still correct), and filter the pods with / command
Observe that the values in the columns are not matching their expected fields (e.g., NAME showing namespace).

Expected behavior
The columns should display the correct values according to their names. For example, the "NAME" column should show pod names, and the "NODE" column should show node names.

Versions (please complete the following information):

OS: [e.g. OSX]
K9s: [e.g. 0.1.0]
K8s: [e.g. 1.11.0]
Additional context Add any other context about the problem here.

Versions (please complete the following information):

OS: OSX
K9s: 0.40.3
K8s: 1.30.9

Additional context Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0