Every Kubernetes cluster that AcornOps observes runs a k8s agent. The agent opens an outbound WebSocket to the control plane, reports cluster state, and executes allowed Kubernetes tools during troubleshooting runs.Documentation Index
Fetch the complete documentation index at: https://docs.acornops.dev/llms.txt
Use this file to discover all available pages before exploring further.
Registration flow
- Open the workspace in the management console.
- Register a new cluster.
- Copy the install instructions returned by the control plane.
- Run the generated Helm command against the Kubernetes cluster.
- Confirm the cluster shows as connected.
{ cluster, agentKey, installInstructions }. Treat installInstructions.command as authoritative.
Agent connection
By default, the agent derives its WebSocket URL from the platform URL:Namespace scope
Use namespace include and exclude lists to limit what the agent observes and what builtin tools may touch.| Setting | Behavior |
|---|---|
| Include list | When non-empty, the agent watches only listed namespaces. |
| Exclude list | Skips listed namespaces after include filtering. |
| Empty include and exclude lists | Watches all namespaces allowed by RBAC except default platform exclusions. |
kube-node-lease and kube-public are excluded by default. Control-plane cluster updates persist namespace scope. If the connected agent supports dynamic scope updates, the control plane pushes the change over the existing WebSocket. Otherwise, the agent receives the persisted scope on the next reconnect.
In the management console, namespace scope is edited from Cluster Settings.
RBAC scope
The agent chart can create cluster-scoped RBAC or namespace-scoped RBAC. Use cluster scope when AcornOps should observe the whole Kubernetes cluster. Use namespace scope when you want to constrain access to a known set of namespaces. Write-capable tools require explicit configuration:- the chart must grant mutation RBAC,
- the agent must advertise write support,
ACORNOPS_AGENT_WRITE_ENABLEDmust betrue,- the workspace role must allow read-write runs,
- the run must be requested with read-write tool access.
Write confirmation policy
Each cluster has an effective write confirmation policy:deployment_default: inheritsAGENT_WRITE_CONFIRMATION_REQUIRED.cluster_override: uses the cluster’s explicit override.
Builtin tools
The current builtin Kubernetes tool set includes:list_resourcesget_resourceget_resource_logsrestart_workloadscale_workloadsimulate_patchapply_remediation
High availability
The agent supports active-passive high availability. If you run more than one replica, enable Kubernetes Lease leader election:Verification
After installation, check:- the pod is running in the chosen namespace,
- the agent logs show a successful handshake,
- the management console shows the cluster as connected,
- snapshots include resources and events,
- metrics appear when the Kubernetes cluster has the metrics API available,
- pod log reads work for roles with log permissions.