Skip to content

Just a tool which allow to easily forward a pod to your machine

License

Notifications You must be signed in to change notification settings

shigedangao/kubeforward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubeforward >>

Kubeforward is a small interactive CLI which allows to easily expose a Kubernetes pod to your local machine

Download

Download the CLI with the following command

OSX Arm

curl -L -O https://github.com/shigedangao/kubeforward/releases/download/v0.1.0/kubeforward-osx-arm.zip && unzip kubeforward-osx-arm.zip

OSX

curl -L -O https://github.com/shigedangao/kubeforward/releases/download/v0.1.0/kubeforward-osx.zip && unzip kubeforward-osx.zip

Linux

curl -L -O https://github.com/shigedangao/kubeforward/releases/download/v0.1.0/kubeforward-linux.zip && unzip kubeforward-linux.zip

Usage

Default usage

By default, kubeforward will look for the current kubernetes config you're using. It'll also ask the namespace which you want to use

kubeforward

With a different context

If you wish to use a different kubernetes context you can use the -c option. The CLI will output a list of kubernetes contexts available in your kubeconfig

kubeforward -c

With a specified namespace

If you already know the namespace where the pod is located you can use the -n option.

kubeforward -n

Combinate the options

Of course you can combine the two options like below

kubeforward -c -n

About

Just a tool which allow to easily forward a pod to your machine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages