Telepresence
$ telepresence Foundation High Risktelepresence bridges a local workstation directly into a Kubernetes cluster's DNS and pod network via local daemons and in-cluster traffic agents. It supports --format json on status and list, --progress quiet, and header-scoped traffic intercepts.
brew install telepresenceio/telepresence/telepresence-oss telepresence operates host TUN networking, DNS routing, and in-cluster traffic-agent sidecars that MCP cannot provide.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format json across status, list, and config view, plus --progress quiet, though root daemon connect may prompt for sudo.
- Supports
--format jsonand--progress quiet telepresence connectstarts a privileged root TUN daemon
Header-scoped intercepts isolate traffic safely, but global intercept reroutes live service traffic and connect requires root privileges + modifies host DNS.
- Header-filtered
--http-headerintercepts - Requires root daemon and injects sidecars into cluster deployments
Available on macOS, Linux, and Windows via Homebrew tap and official releases, but depends on elevated OS network/TUN permissions and Helm/traffic-manager.
- Cross-platform CLI requiring root TUN/DNS daemon
Seamless cluster DNS resolution and selective HTTP traffic interception for debugging microservices locally.
- Full cluster DNS + selective L7 traffic interception
CNCF incubating project (telepresenceio/telepresence) under Apache-2.0.
- CNCF
telepresenceio/telepresencerepository
Detailed CLI reference docs at telepresence.io covering flags and JSON output.
- Official CLI reference at telepresence.io
Security, Auth & Guardrails
Uses ~/.kube/config (KUBECONFIG) to install/connect to the cluster traffic-manager and caches daemon config locally.
OSS CLI (telepresence-oss) is Apache-2.0 free; commercial Ambassador Cloud tiers add team features.
# Telepresence Agent Rules - Always run `telepresence status --format json` first to verify cluster context and active intercepts. - Use `--http-header` or `--http-path-prefix` on `intercept` so shared cluster traffic is not hijacked. - Remember `telepresence connect` requires privileged TUN/DNS setup and may prompt for `sudo`.
Agent-Ready Command Recipes
Safe Read-Only Queries
telepresence status --format json
Reports root/user daemon states, active kubeconfig context, and intercept count in JSON.
telepresence list -n staging --format json
Returns JSON list of workloads and active traffic intercepts in the namespace.
Controlled Writes & Previews
telepresence intercept my-svc -n staging --port 8080:http --http-header x-dev-agent=true --output=json
Routes only matching HTTP header traffic to localhost without disrupting other cluster callers.
Strengths for Agents
- +
--format jsonand--progress quietprovide clean structured status and workload listings. - +
--http-headerand--http-path-prefixenable safe, scoped traffic intercepts. - + Gives local processes transparent cluster DNS and service network access.
Caveats & Pitfalls
- !
telepresence connectrequires a privileged root daemon (sudo) and alters local DNS/routing. - ! Injecting traffic-agent sidecars restarts target pods in the cluster and can disrupt shared environments if unscoped.