Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Filtering pods by label not applying immediately #677

@ccampo133

Description

@ccampo133




Describe the bug
When I attempt to filter pods by label, it doesn't seem to work immediately. However, when I view a specific pod (press enter on some pod), and then back out to the list of all pods, the label is applied. See the attached screen recording for an example.

To Reproduce
Steps to reproduce the behavior:

  1. View all pods
  2. Filter by label, i.e. press /, type -l label=value, press ENTER
  3. Pods do not appear to be filtered
  4. View a specific pod (e.g. press ENTER on a single pod)
  5. Return to the all pods view (press ESC) and notice the filter is applied.

Expected behavior
Label filter should be applied as soon as the filter is applied.

Screenshots
Screen-Recording-2020-04-22-at-1

Versions (please complete the following information):

  • OS: OSX 10.15.4
  • K9s 0.19.2
  • K8s v1.14.9 (Amazon EKS 502bfb)

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions