/kubectl-link

kubectl-link helps you to access your cluster resources without vpn

Primary LanguageGoMIT LicenseMIT

kubectl-link

kubectl-link is a kubectl plugin that allows you to access your pods and services without vpn or manually setting up port forwarding.

  • It creates a tun device on your machine to route traffic to your kubernetes cluster with automatically setting port forwarding based your network connections.
  • !! It's still new and experimental. Please use it with caution.
  • !! Works only on MacOS for now.
Screen.Recording.2024-09-14.at.01.37.45.mov

Installation (krew)

Installation (go install)

go install github.com/umutbasal/kubectl-link@latest

Usage

sudo kubectl link

Visit your pods and services through your browser or curl

curl http://nginx.default.svc.cluster.local
curl http://172.17.1.1

refs

Known Issues