Schedules a clean process exit after a Go duration such as 24h. The delay has a random jitter of plus or minus 10%, followed by 30 seconds before exit. With a restart policy, Kubernetes or Docker Compose then starts a new container. Invalid, zero, negative, and unset values disable the scheduled restart. This setting doesn't detect a disconnection: the agent retries its SSH connection independently.
HEALTH_CHECK_PORT
Unset. Helm: 8080.
Starts the health server on this port. GET /health returns 200 OK when the tunnel is connected and 503 Not connected otherwise. No health server starts when the value is empty. Use a port of 1024 or higher because the image runs as a non-root user.
ESCAPE_ENABLE_LOGS_ENDPOINT
false
Set to true to add POST /log to the health server for a local log-forwarding proxy. It requires HEALTH_CHECK_PORT.
ESCAPE_K8S_INTEGRATION
true
Set to false to disable the Kubernetes API proxy and Kubernetes integration registration. Any other value enables it.
KUBECONFIG
In-cluster configuration
Path to the kubeconfig used by Kubernetes integration. It is used only when Kubernetes integration is enabled.
Logging level: 0 for essential output, 1 for debug logs, 2 for trace logs, and 3 for trace logs with raw HTTP request and response details. Invalid values use 0.