Every workload 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 workload 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. |
RBAC scope
The agent chart can create cluster-scoped RBAC or namespace-scoped RBAC. Use cluster scope when AcornOps should observe the whole workload 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,
- the workspace role must allow read-write runs,
- the run must be requested with read-write tool access.
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 workload cluster has the metrics API available,
- pod log reads work for roles with log permissions.