Connect your laptop to a Kubernetes cluster's network for local development
open sourceMITself-hostablefree
KubeVPN is a command-line tool that connects a local machine to a Kubernetes cluster's network, so code running on your laptop reaches pods and services by their IPs or cluster DNS names. It can intercept a service's inbound traffic, all of it or only requests with chosen headers, and send it to a process on your machine through a service mesh sidecar, run a cluster's pod locally in Docker with the same environment, volumes and network, sync files with remote pods, and connect to several clusters at once. It needs a kubeconfig and local root rights for its TUN device. It's MIT licensed and written in Go by naison.
Ways to install
App stores
Package managers
Problems it solves
- call Kubernetes services by their cluster DNS names from my laptop
- debug a microservice locally while it receives real traffic from the cluster
- route only requests with my header to my local copy of a service
- run a pod from the cluster on my machine with the same environment and volumes
- an open source alternative to Telepresence for local Kubernetes development
Features
- Reach pod and service IPs and cluster DNS from your machine
- Intercept a service's traffic to a local process, optionally by request header
- Run a cluster's pod locally in Docker with the same env, volumes and network
- Sync files between local and remote pods
- Connect to several clusters at once
- Chain through another VPN or proxy
- kubectl plugin via Krew
Limitations
- Needs local root or sudo rights to create its TUN device and change routing and DNS.1
Capabilities
| Has a command line tool | plan not known |
|---|