Skip to content

Log Filtering (/) Sometimes Doesn't Work #3652

@ossie-git

Description

@ossie-git




Describe the bug
Filtering logs using / doesn't always work. To make it work consistently, I have to press Shift-/ twice

To Reproduce
Steps to reproduce the behavior:

Here is an example using the latest version of k9s:

  1. Press l on any container
  2. Press / to search
  3. Add your search query and press Enter
  4. You don't see your expected search result

What is odd is that the above sometimes does work

Historical Documents
When applicable please include any supporting artifacts: k9s debug logs, configurations, resource manifests, ...

Expected behavior
/ should work consistently.

Screenshots

Here is a demo of it. I searched using /GC/ but it didn't show anything. Once I pressed Shift-/` twice it showed the expected result:

Image

Versions (please complete the following information):

  • OS: Fedora 41
  • K9s: 0.50.16
  • K8s: v1.34.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions