Skip to content

Kubernetes Exec

Browser only - a recorded shell into a pod/container. See the Kubernetes exec reference, options, and How users connect.

k8s.json
{
  "transaction_id": "txn-k8s-005",
  "protocol": "k8sexec",
  "username": "erin@corp",
  "target_host": "k8s-api",
  "target_username": "erin",
  "kube_api_server": "k8s-api:6443",
  "kube_namespace": "payments",
  "kube_container": "app",
  "kube_command": ["/bin/bash"],
  "kube_tty": true,
  "kube_bearer_token": "eyJhbGciOi...",
  "blocked_commands": ["kubectl", "curl"],
  "expires_at": 1750000000
}
terminal
broker-bridge-api.sh checkout-create --file k8s.json
  • Browser - an in-page shell via Connect / /connect?transaction_id=txn-k8s-005.
Last updated on