Introduction
kobe keeps warm pools of environments and hands them out as time-bounded leases. Callers use the kobe CLI or a small HTTP API. Two pool kinds exist:
- Cluster — a full Kubernetes API. CI gets a kubeconfig without creating a cluster per job.
- Sandbox — a bounded container. You get
exec, logs, port-forward, SSH, and an optional desktop. You never see the Kubernetes cluster underneath.
TTL is enforced server-side. Release or expiry recycles the instance and queues a replacement.
What you can do
Lease a cluster for CI
kobe lease ci-small
# or wrap a job so the lease dies with the process
kobe with-lease ci-small -- make e2e
GitHub Actions can do the same with the job's OIDC token and no stored secret. See GitHub Actions.
Treat a sandbox like a machine
kobe init --endpoint https://kobe.example.com
ssh kobe-agents-dev
scp ./app kobe-agents-dev:work/
The first ssh creates the sandbox. Later connections reuse it. scp, sftp, and an editor's remote mode go through the same ProxyCommand. The SSH client never learns kobe exists. See SSH.
Keep a shell after you drop the laptop
ssh kobe-agents-dev.main
kobe attach kobe-agents-dev --session main
The session runs under kobe-runner in the sandbox. Reconnect and the screen is as you left it.
Run an agent command with a real exit code
kobe run agents -- /agent test
printf %s "$GITHUB_TOKEN" | kobe exec agents --stdin -- gh auth login --with-token
run owns create, exec, and release in one process. argv is sent as-is (no shell). Secrets go on stdin so they stay out of the target apiserver audit log. JSON mode is for headless agents. See executable commands.
Open a Linux desktop in the browser
A GUI pool ships KasmVNC, Openbox, and Firefox. Start the desktop, forward port 6080, and open the viewer. OAuth flows stay inside that Firefox. See Desktop.
Five-minute cluster trial
If an operator already gave you an endpoint:
kobe target set work --endpoint https://kobe.example.com --auth ssh --global
kobe target use work
kobe login
kobe lease ci-small
The CLI writes a kubeconfig under ~/.kube/ and prints the path:
export KUBECONFIG=~/.kube/kobe-ci-small-<id>.yaml
kubectl get nodes
kobe release <lease-id>
No endpoint yet? Deploy the operator, then come back.
Current support
| Area | Support |
|---|---|
| Cluster backends | k3s (default), k0s, vcluster, CAPI. vkobe exists but is on hold |
| Sandbox runtime | Kubernetes Agent Sandbox v1.0.0, trusted-runc only |
| Auth | OIDC, SSH Ed25519, static bearer tokens |
| CLI | macOS, Linux, Windows |
| Helm chart | oci://registry-1.docker.io/zondax/kobe |
Install the CLI
mise, Homebrew, apt, winget, and other channels
Deploy the operator
Helm install, AccessPolicy, first ClusterPool
Lease a cluster
login, lease, kubectl, with-lease
Lease a sandbox
kobe run, exec, ssh kobe-…
GUI desktop
KasmVNC desktop in a sandbox
GitHub Actions
OIDC lease with kobe-action
Helm and operations
Values, upgrades, metrics, troubleshooting