kubectl apply puts it in its own namespace. Your cluster runs the observer, and everything else runs in RubixKube.
Before you start
kubectlpointed at the cluster.kubectl get nodesshould work.- Permission to create a namespace, a ClusterRole and a ClusterRoleBinding.
- Outbound access from the cluster to
api.rubixkube.ai:443,nats.rubixkube.ai:4222andghcr.io:443(the image). - An admin account in the console.
Install
1
Copy your command
In the console, open Environments, click Connect and pick Kubernetes. Copy the command. It already holds your API key.
2
Run it
3
Check the pod
Running. If it doesn’t, read the logs:4
Open it in the console
The dialog updates by itself and says your cluster is connected, usually within a minute. Add an environment label, then click Open it.
What runs in your cluster
By default, one pod inrubixkube-system. It serves its own read-only Kubernetes tools, so no separate MCP server runs.
This suits clusters up to about 50 nodes. It runs as a non-root user with a read-only root filesystem and no Linux capabilities.
Run more than one pod
On a big cluster the source page tells you how many pods to run. Add&replicas= to the install address, from 1 to 5:
What the role can do
The observer’s ClusterRole,rubixkube-observer, reads most of the cluster: pods, nodes, Services, ConfigMaps, workloads, networking, storage, RBAC objects and pod logs. It can also create events.
Two permissions deserve a plain mention. The role has get, list and watch on secrets, and create on pods/exec, so that is what the observer’s token can do in your cluster. The observer itself uses less. It watches only the metadata of Secrets, so their contents never reach it, its tools return key names and never values, and no observer code runs pods/exec. See Safety and control for how Rubix’s actions are limited.
What the observer watches
Crash loops, out of memory, stuck pods and the other checks are all rules you can change. See Change what an observer looks for. Those settings apply without a restart.
Upgrade
Run the install command again, copied from the console. It updates the observer in place and keeps the environment, its history and its settings.&replicas= on the address. Without it, the apply sets the Deployment back to one pod.
Installs from before observer 1.1.0 also ran a Kubernetes MCP server next to the observer. It’s no longer needed. Remove it after the upgrade:
kubernetes entry from the mcp-config ConfigMap, or delete the ConfigMap if that was its only entry:
Add your own MCP servers
The observer reads extra MCP servers from the optional ConfigMapmcp-config (key mcp.json) in rubixkube-system. The install command never overwrites it.
Try it on KIND
The same command works on a local KIND cluster, so you can try RubixKube without touching a real one.Troubleshooting
Pod stuck in ImagePullBackOff
Pod stuck in ImagePullBackOff
The cluster can’t reach the image at If this fails, a proxy or egress policy is in the way. Allow the three addresses listed under Before you start.
ghcr.io/rubixkube-io/observer-agent. Test it from inside the cluster:Pod in CrashLoopBackOff
Pod in CrashLoopBackOff
Read the logs from the last run:If they point at the API key, run the install command again, copied fresh from the console.
The dialog keeps waiting
The dialog keeps waiting
- Check that the pod is
Runningwithkubectl get pods -n rubixkube-system. - Check that outbound TCP to
nats.rubixkube.ai:4222is open. The observer needs it as well as HTTPS.
Observer running out of memory on a big cluster
Observer running out of memory on a big cluster
Run more pods, as above. The source page says how many. Or raise the limit:The next install command you run sets the limit back to 768Mi.
Uninstall
mcp-config ConfigMap goes with the namespace.
Related pages
Environments
The source page and the observer’s Configuration.
Observers
What an observer does and where it runs.
Safety and control
What Rubix can and can’t do.
Your first incident
Follow an incident from start to finish.