programs.k9s.plugins

Plugins written to $XDG_CONFIG_HOME/k9s/plugins.yaml (linux) or Library/Application Support/k9s/plugins.yaml (darwin). See https://k9scli.io/topics/plugins/ for supported values.

Type
YAML 1.1 value
Default
{ }
Example
{
  # Defines a plugin to provide a `ctrl-l` shortcut to
  # tail the logs while in pod view.
  fred = {
    shortCut = "Ctrl-L";
    description = "Pod logs";
    scopes = [ "po" ];
    command = "kubectl";
    background = false;
    args = [
      "logs"
      "-f"
      "$NAME"
      "-n"
      "$NAMESPACE"
      "--context"
      "$CLUSTER"
    ];
  };
}
Declared
<home-manager/modules/programs/k9s.nix>