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.
Namespace scope
Use namespace include and exclude lists to limit what the agent observes and what builtin tools may touch.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.
Automatic investigations have a separate namespace eligibility policy. That
policy can narrow which observed issues start an investigation, but it cannot
expand AgentK collection, RBAC, or tool access. See
Configure automatic investigations.
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: inheritsASSISTANT_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_workloadpatch_resource
High availability
The agent supports active-passive high availability. If you run more than one replica, enable Kubernetes Lease leader election:Private platform CA
When the AcornOps WebSocket certificate uses an organization-private CA, add that public CA bundle to AgentK without disabling TLS verification. Add the bundle source to the same values file that you use for the AgentK release. For a local PEM file, add--set-file config.tls.additionalCaBundle.inlinePem=/path/to/organization-ca.pem to your existing
helm upgrade --install command. Keep the rest of that command’s release values unchanged.
You can instead reference one existing ConfigMap or Secret in the AgentK release namespace through config.tls.additionalCaBundle.configMapKeyRef or secretKeyRef. The sources are mutually exclusive. A missing resource or key prevents the pod from starting.
AgentK extends normal public CA trust and keeps certificate and hostname verification enabled. Existing ConfigMap or Secret content changes require a pod restart. Rotate private roots with an old/new overlap.
Structured write safeguards
patch_resource accepts guarded semantic image, label, annotation, and explicitly enabled Service selector changes; it does not expose an arbitrary patch document or shell.
The local default permits Deployment, StatefulSet, and DaemonSet patching. CronJob, Service, and Ingress kinds require explicit patchPolicy.kinds configuration and matching RBAC. Service selector changes require both patchPolicy.allowServiceSelectorChanges=true and caller confirmation.
Scale-to-zero is disabled unless both the operator and caller opt in. Mutation receipts are minimal, and an uncertain write outcome must be inspected before any retry.
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.