Run a local process as if it were inside your cluster: prefix any command with plug and it resolves the cluster DNS and reaches the cluster services like any workload of the stack - no code change, no proxy configuration in your app. One tiny agent container on the cluster side, one static CLI on yours. Docker, Swarm, Kubernetes and OpenShift.

What plug does

plug runs a process on your machine as a full member of your cluster - in both directions. Your process reaches cluster services by their real names, and it is itself reachable from inside the cluster under a name. No code change, no proxy configuration - you just prefix your usual command:

plug -s my-app:8080:3000 npm run start:dev
plug in two animated rounds: the browser's GET data is served by the deployed service1, then plug parks it and the same request is served by your machine - which also queries postgres by name.

One SSH tunnel carries both directions: your process reaches the cluster by name, and the cluster reaches your process by the name you serve with -s. Already deployed? plug parks the in-cluster service1 for the session - your process takes its place, and it is restored when the session ends.

outbound
Reach the cluster by name. Your process addresses postgres, my-service:8080 - the same names any workload inside uses. No port-forwards, no localhost:PORT mappings. Only consuming (a DB tool, a one-off script)? That's plug -c.
inbound
Be reachable by name. With -s, a name you serve is reachable from inside the cluster - a gateway, another service, or a browser through the ingress lands on your machine. No name pre-declared, no redeploy.
Two pieces. A tiny agent container (one static Go binary, no shell) deployed once on the cluster - and a single static plug binary on each dev machine. Set up once per cluster; after that, day-to-day runs need no sudo or admin. The agent runs on Docker Compose, Docker Swarm, Kubernetes and OpenShift (what is proven where).
Before you deploy it. By default the agent lets in whoever reaches its port, and a session reaches what the agent reaches. On Docker, Compose and Swarm it needs the Docker socket, which is root on the host. Use it on dev or staging clusters you trust; the security model says how to narrow who gets in.

What you get

Names, resolved cluster-side Address my-service:8080 by its real name - no localhost:PORT mappings, no /etc/hosts edits. Every runtime, unchanged Traffic is captured at the IP layer, so your app's socket is never touched - Node, the JVM, Python, Go, curl, gRPC, DB drivers all just work. Reachable from the cluster -s publishes a local port under a cluster name - a gateway or workload reaches your process, for the session. A deployed service owning the name is parked meanwhile, restored on exit. Several clusters at once Run the same process against two clusters in parallel - each session stays isolated. Linux · macOS · Windows Native on all three (no WSL2 needed); a multi-arch amd64/arm64 agent image. The service's configuration and data Take a deployed service's place and your process starts with its values, its secrets and its config files, and works on its volumes, live.

How plug compares

mirrord and Telepresence also run local code against a remote cluster, on Kubernetes. plug works the same on Docker Compose, Swarm, Kubernetes and OpenShift, and needs no kubeconfig on a developer's machine. Side by side, including where they are ahead.

Set it up

plug is free, and there is no paid tier planned. If it saves you the afternoon it was built to save, you can sponsor its development - one-off or monthly, whatever it is worth to you. Nothing in plug is gated behind it, and nothing ever will be. Companies whose use falls outside the licence should ask about that instead.