- Dockerfile for claudebox with Claude Code CLI - Kustomize manifests for k3s deployment - Scripts for credentials, deploy, and verify - README with quick start guide Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.0 KiB
1.0 KiB
rdev - Remote Developer
Run Claude Code in isolated Kubernetes pods, controlled via Discord.
Quick Reference
# Set kubeconfig for k3s (REQUIRED before any kubectl)
export KUBECONFIG=~/.kube/orchard9-k3sf.yaml
# Deploy
kubectl apply -k deployments/k8s/base
# Verify
kubectl exec -n rdev claudebox-0 -- claude --version
# Test Claude
kubectl exec -it -n rdev claudebox-0 -- claude "say hello"
Architecture
k3s cluster (rdev namespace)
├── claudebox-0 (StatefulSet)
│ ├── Claude Code CLI
│ ├── /workspace (PVC)
│ └── /root/.claude (credentials secret)
└── Future: discord-bot, more claudebox pods
Development
This is v0.1 - base case only. See docs/reference.md for full vision.
Deploying to k3s
- Build and push image (or use pre-built)
- Create Claude credentials secret
- Apply manifests:
kubectl apply -k deployments/k8s/base
Constraints
- ON-PREM k3s - not GKE, always set KUBECONFIG
- Kustomize only - no ArgoCD
- Manual deploys - no CI/CD pipelines yet