Skip to content
Discussion options

You must be logged in to vote

Hi @BroderPeters, welcome to kubefwd!

There's no session persistence feature, but that's actually by design. kubefwd uses a declarative approach, you tell it what to forward using selectors, rather than listing specific services. This is more powerful because:

  • New services matching your criteria get forwarded automatically
  • Removed services are cleaned up
  • Your command stays valid even as your cluster evolves

Save your command as an alias:

# Simple - forward all services in a namespace
alias kfwd='sudo -E kubefwd svc -n my-namespace --tui'

# Label selector - forward only database services
alias kfwd-db='sudo -E kubefwd svc -n dev -l app=database --tui'

# Multiple labels (AND)
alias kfwd…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BroderPeters
Comment options

Answer selected by cjimti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants