Skip to content

Plugins not loaded/shown in UI #2754

Closed
Closed
@cathychi

Description




Describe the bug
In $XDG_CONFIG_HOME/k9s/plugins.yaml, I have exactly as described for the debug container here. However, in the k9s UI, Shift-D doesn't even come up as an option to use.

To Reproduce
Steps to reproduce the behavior:

  1. Copy https://github.com/derailed/k9s/blob/master/plugins/debug-container.yaml into $XDG_CONFIG_HOME/k9s/plugins.yaml
  2. Go to k9s -n $NAMESPACE
  3. Type '?'
  4. See no "Shift-D" option

Expected behavior
I would expect that I could see Shift-D as in option if the plugins file was picked up. I have tried with different terminals, exited and restarted k9s, but no luck.

Versions (please complete the following information):

  • OS: 14.5 Sonoma
  • K9s: [e.g. 0.32.5]
  • K8s: [e.g. 1.30.1]

Additional context
$XDG_CONFIG_HOME/k9s/plugins.yaml is the correct path as shown when under k9s info, so I think the file is in the correct directory. Logs aren't showing anything. There's not mention of Plugins loaded failed!. I had plugin instead of plugins previously in the actual yaml like such

plugin:
   debug:

and I did get that error. So I do think k9s is picking up the file, but it's not populating Shift-D as an option. I don't have any other shortcuts, hot keys, or other options that are also using the Shift-D shortcut. I've also tried to add other plugins and none of those short cuts showed up either.

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