Remote Developer - Claude Code instances in isolated Kubernetes pods
Go to file
jordan aaf66764fb feat: add worker pool infrastructure for composable projects
- Add POST /workers/register and POST /workers/{workerId}/heartbeat endpoints
- Start worker health checker goroutine in main.go
- Fix network policy to allow K8s API server access (includes real endpoint IPs)
- Add rdev.orchard9.ai/role: worker label to claudebox StatefulSet

This enables the embedded WorkExecutor to reach claudebox-0 for executing
builds on composable projects that don't have dedicated pods.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 19:55:37 -07:00
ai-lookup feat: add SDLC branch management, merge, archive, and orchestrator APIs 2026-02-02 12:30:03 -07:00
changelog release: v0.10.39 - fix: resolve chi route conflicts for SDLC endpoints 2026-02-02 19:17:51 -07:00
cmd feat: add worker pool infrastructure for composable projects 2026-02-02 19:55:37 -07:00
cookbooks release: v0.10.38 - feat: add feature development E2E test and SDLC API deployment 2026-02-02 19:13:45 -07:00
deployments/k8s/base feat: add worker pool infrastructure for composable projects 2026-02-02 19:55:37 -07:00
docs feat: add auth scopes, OpenAPI docs, SDLC guides, and code quality improvements 2026-02-02 13:55:50 -07:00
examples/dashboard-app feat: complete template upgrade - chassis framework, UI library, auth, app-nextjs, OpenAPI, and cookbook 2026-02-02 00:46:51 -07:00
history docs: add v0.5.0 history - API key authentication 2026-01-24 23:48:43 -07:00
internal feat: add worker pool infrastructure for composable projects 2026-02-02 19:55:37 -07:00
pkg/api feat: complete template upgrade - chassis framework, UI library, auth, app-nextjs, OpenAPI, and cookbook 2026-02-02 00:46:51 -07:00
scripts chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
tests/e2e feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
.env.local.example feat: add local development environment 2026-01-25 00:07:02 -07:00
.gitignore feat: add SDLC orchestration - library, CLI, and API integration 2026-02-02 09:57:05 -07:00
.golangci.yml feat: Add infrastructure adapters for threesix.ai 2026-01-25 22:49:58 -07:00
CHANGELOG.md feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
CLAUDE.md feat: add auth scopes, OpenAPI docs, SDLC guides, and code quality improvements 2026-02-02 13:55:50 -07:00
CODING_GUIDELINES.md feat: Add multi-provider code agent interface with Claude Code and OpenCode adapters 2026-01-27 09:25:51 -07:00
docker-compose.yaml feat: add local development environment 2026-01-25 00:07:02 -07:00
Dockerfile feat: Implement v0.2-v0.4 (workspaces, git, API) 2026-01-24 21:07:00 -07:00
Dockerfile.api feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
Dockerfile.api.prebuild feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
go.mod feat: add SDLC orchestration - library, CLI, and API integration 2026-02-02 09:57:05 -07:00
go.sum feat: add SDLC orchestration - library, CLI, and API integration 2026-02-02 09:57:05 -07:00
IMPLEMENTATION_PLAN_V2.md feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
IMPLEMENTATION_PLAN.md docs: add hexagonal architecture implementation plan 2026-01-25 00:15:46 -07:00
Makefile feat: add local development environment 2026-01-25 00:07:02 -07:00
PLAN.md feat: Implement v0.2-v0.4 (workspaces, git, API) 2026-01-24 21:07:00 -07:00
QUICKSTART.md feat: add local development environment 2026-01-25 00:07:02 -07:00
README.md feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00

rdev - Remote Developer

Run Claude Code in isolated Kubernetes pods on your k3s cluster.

Quick Start

# 1. Set kubeconfig (REQUIRED - this is k3s, not GKE)
export KUBECONFIG=~/.kube/orchard9-k3sf.yaml

# 2. Authenticate Claude locally (if not already)
claude

# 3. Create credentials secret
./scripts/create-credentials-secret.sh

# 4. Deploy
./scripts/deploy.sh

# 5. Verify
./scripts/verify.sh

Usage

# Check Claude version
kubectl exec -n rdev claudebox-0 -- claude --version

# Interactive Claude session
kubectl exec -it -n rdev claudebox-0 -- claude "what can you help me with?"

# Run in workspace
kubectl exec -it -n rdev claudebox-0 -- bash
cd /workspace
claude "create a hello world go program"

Architecture

k3s cluster
└── rdev namespace
    └── claudebox-0 (StatefulSet)
        ├── Claude Code CLI
        ├── /workspace (20Gi PVC via Longhorn)
        └── /root/.claude (credentials from secret)

Roadmap

  • v0.1: Base case - single claudebox pod
  • v0.2: Real workspace mounting (pantheon, aeries)
  • v0.3: Git integration (push/pull)
  • v0.4: Discord bot control
  • v0.5: Streaming output
  • v0.6: Multi-project routing

Development

# Build image locally
docker build -t rdev-claudebox:dev .

# Build and push to Artifact Registry
./scripts/build-push.sh v0.1.0

Troubleshooting

# Check pod status
kubectl get pods -n rdev

# View pod logs
kubectl logs claudebox-0 -n rdev

# Describe pod for events
kubectl describe pod claudebox-0 -n rdev

# Check credentials mount
kubectl exec -n rdev claudebox-0 -- ls -la /root/.claude/