Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Would you be interested in merging changes that allow nanoclaw to run on k8s? #302

johnthompson-ybor started this conversation in Ideas
Discussion options

I've been experimenting with running NanoClaw on Kubernetes instead of macOS/Docker Desktop, and wanted to see if there's interest in upstreaming some form of this.

The core idea: replace the local runtime (WhatsApp, Apple Containers, filesystem IPC) with K8s-native equivalents, so NanoClaw can be deployed as a workload on a cluster.

  • WhatsApp → HTTP webhook channel (receives events from any source)
  • Apple Containers → K8s Jobs (each agent invocation is an isolated Job)
  • Filesystem IPC → gRPC bidirectional streaming between orchestrator and agent pods
  • Agent identity (CLAUDE.md, skills, settings) delivered via ConfigMap, per-group overridable
  • Credentials via K8s Secrets, mounted as env vars through envFrom

The orchestrator runs as a Deployment. When a message arrives on the webhook, it creates a Job. The agent pod connects back via gRPC, receives the prompt, runs Claude, streams results back. Everything is externally configurable through env vars and ConfigMaps.

This makes it possible to run fleets of agents on shared infrastructure with proper RBAC, network policies, and observability ... "

I don't really want to turn this into a general orchestrator or job runner, but this seems like the bare minimum you would have to do to get this running on k8s.

You must be logged in to vote

Replies: 1 comment

Comment options

Thanks @johnthompson-ybor for initiating the discussion, I am also looking at ways for supporting nanoclaw in k8s. Do you think instead of jobs something like agent-sandbox can be used instead of jobs?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /