Kubernetes Sandbox

Reference

Settings

Hooks

Pod

Named sbx-<hash of workspace id>, labelled app.kubernetes.io/managed-by=paseo-kubernetes-sandboxes, with a shared process namespace and no service account token. The main container idles; work arrives through kubectl exec.

Launcher

kube-exec.sh --namespace NS --pod POD [--context C] [--container main]
  [--cwd DIR] [--env NAME]... [--state-dir /tmp/sbx] -- command [args...]

Forwarded variable values travel as kubectl exec arguments. Use the environment Secret for credentials.

RBAC

pods: get, list, watch, create, delete; pods/exec: create; pods/log: get; persistentvolumeclaims: get.