Skip to content

Configurable Custom Jump Navigation #3737

@uozalp

Description

@uozalp

Problem
K9s provides built-in navigation for standard Kubernetes resources (Deployment → Pods) and some popular operators. However, there are many niche operators and custom controllers where adding native navigation support for each would be impractical.

Teams developing their own operators need a way to quickly navigate between related CRs without manually switching views and filtering, but their use cases are too specific to justify native K9s support.

Proposed Solution
Allow users to define custom navigation rules in $XDG_CONFIG_HOME/k9s/navigations.yaml:

jumps:
  "myoperator.io/v1/patchplans":
    targetGVR: "myoperator.io/v1/patchjobs"
    labelSelector: "app={{.metadata.name}}"

When pressing Enter on a PatchPlan, navigate to filtered PatchJobs instead of the describe view.

See PR for more details: #3736

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions