Skip to content
Skip to Content

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

AreaSupport
Cluster backendsk3s (default), k0s, vcluster, CAPI. vkobe exists but is on hold
Sandbox runtimeKubernetes Agent Sandbox v1.0.0, trusted-runc only
AuthOIDC, SSH Ed25519, static bearer tokens
CLImacOS, Linux, Windows
Helm chartoci://registry-1.docker.io/zondax/kobe
Available for:
Apple macOS logomacOSMicrosoft Windows logoWindowsLinux logoLinux
Download Kunobi