Skip to main content
Version: 2.27

telepresence

Connect your workstation to a Kubernetes cluster

Synopsis:

Telepresence can connect to a cluster and route all outbound traffic from your workstation to that cluster so that software running locally can communicate as if it executed remotely, inside the cluster. This is achieved using the command:

telepresence connect

Telepresence can also intercept traffic intended for a specific service in a cluster and redirect it to your local workstation:

telepresence intercept <name of service>

Telepresence uses a background process, the user daemon, to manage the cluster session, and a system service, the root daemon, to modify the workstation's network and DNS so that the cluster's services become available locally.

If Telepresence was installed as a standalone binary, the system service will not be present. A root daemon must then be started using sudo, which may result in a password prompt.

Usage:

  telepresence [command] [flags]

Available Commands:

CommandDescription
completionGenerate a shell completion script
composeDefine and run multi-container applications with Telepresence and Docker
configTelepresence configuration commands
connectConnect to a cluster
curlcurl with daemon network
docker-runDocker run with daemon network
gather-logsGather logs from traffic-manager, traffic-agent, user and root daemons, and export them into a zip file.
genyamlGenerate YAML for use in kubernetes manifests.
helmHelm commands using the embedded Telepresence Helm chart.
ingestIngest a container
interceptIntercept a service
leaveRemove existing intercept
listList current intercepts
list-contextsShow all contexts
list-namespacesShow all namespaces
loglevelTemporarily change the log-level of the traffic-manager, traffic-agent, and user and root daemons
mcpMCP server management
quitTell telepresence daemons to quit
replaceReplace a container
revokeRevoke an intercept by intercept ID. The intercept ID must be in the format <session_id>:<intercept_name>
serveStart the browser on a remote service
statusShow connectivity status
uninstallUninstall telepresence agents
versionShow version
wiretapWiretap a Service

Flags:

  -h, --help   help for telepresence

Global Flags:

      --config string     Path to the Telepresence configuration file (default &quot;$HOME/.config/telepresence/config.yml&quot;)
--output string Set the output format, supported values are 'json', 'yaml', and 'default' (default &quot;default&quot;)
--progress string Set type of progress output (auto, tty, plain, json, quiet) (default &quot;auto&quot;)
--use string Match expression that uniquely identifies the daemon container

Use telepresence [command] --help for more information about a command.