OpenClaw Kubernetes Operator with Embedded Ollama Support

✍️ OpenClawRadar📅 Published: March 23, 2026🔗 Source
OpenClaw Kubernetes Operator with Embedded Ollama Support
Ad

OpenClaw Kubernetes Operator with Embedded Ollama

A community member has created an OpenClaw Kubernetes operator that addresses missing functionality like internal binaries and Ollama integration. The operator enables running Ollama as a pod in the same shared namespace at <ollama-svc>:11434, which the creator found helpful when using Ollama cloud for agents.

Setup Instructions

To try this setup, you need a Kubernetes cluster (can be created with kind/minikube). From the cloned repository:

  • Install the operator: kubectl apply -f dist/install.yaml
  • Check installation in the openclaw-operator-system namespace
  • Install the agent manifest: kubectl apply -f config/samples/openclaw_v1alpha1_openclawinstance.yaml
  • Wait for everything to run, then do the first onboard: kubectl exec -it my-agent-0 -c cli -- openclaw onboard
Ad

Ollama Configuration

Ollama runs as a separate StatefulSet. The gateway is pre-configured to communicate with it at my-agent-ollama:11434. For cloud version usage:

  • Sign in: kubectl exec -it my-agent-ollama-0 -- ollama signin
  • Pull a cloud model: kubectl exec -it my-agent-ollama-0 -- ollama pull minimax-m2.7:cloud

Dashboard Access

To access the dashboard locally:

  • Port-forward the gateway service: kubectl port-forward svc/my-agent 18789:18789
  • Get the authentication token from the CLI sidecar: kubectl exec -it my-agent-0 -c cli -- openclaw dashboard
  • This prints a URL with token (format: ...localhost:18789/dashboard?token=...) that you can access

The creator describes this as a project for practicing Kubernetes operators, based on past knowledge and practices. They note there's room for improvement and are seeking DevOps or Kubernetes contributors for maintenance.

📖 Read the full source: r/openclaw

Ad

👀 See Also