Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.
The Toolkit is a single static binary. It collects service state
(systemd), system metrics, and infrastructure topology, and streams them
to AO Cloud over an outbound mTLS channel.
Requirements
Linux (x86_64 or arm64)
Outbound HTTPS/gRPC to AO Cloud
Root (or equivalent) to observe system services
Install
Use the install script for the common case. The OCI options below are
for air-gapped, immutable, or container-based hosts where pulling a
shell script isn’t an option.
Install script
# Copy the exact command — including your enrollment token — from the dashboardcurl -fsSL https://get.automatedoperations.com | sh -s -- --token <enrollment-token>
Container image
The Toolkit publishes a multi-arch container image (linux/amd64 and
linux/arm64) on the GitHub Container Registry. The package is public —
no docker login required.
Use a pinned tag (for example 0.0.1-rc50; image tags have no v) in
production; :latest tracks the newest release.The tag sets the version a container starts on. Container installs can
also update themselves to newer releases, under a policy you control; see
Automatic updates.Optionally verify the image’s keyless cosign signature before running
it on production hosts:
Each release also publishes the raw Linux binary as an OCI artifact you
can pull with oras — useful for hosts that don’t
run a container runtime.
# linux/amd64 — replace amd64 with arm64 for arm hostsoras pull ghcr.io/automatedoperations/ao-toolkit-cli:<tag>-linux-amd64chmod +x ao-toolkit-linux-amd64./ao-toolkit-linux-amd64 enroll --token <enrollment-token>
The Linux OCI binaries are cosign-signed against the ao-toolkit-cli
reference. macOS and Windows builds are distributed through the
dashboard with Apple notarization and Authenticode signatures.
What enrollment does
The Toolkit generates a keypair on the host — private keys never
leave the machine.
It exchanges your one-time enrollment token for a short-lived mTLS
client certificate.
Certificates renew automatically in the background for the life of
the install.
Host name
AO knows each host by its hostname and, when it has one, its fully
qualified domain name (FQDN). The FQDN is what you key hosts by in your
inventory, configuration management or deploy tooling, so it is treated as
an identifier: it does not have to resolve in DNS. The Toolkit reports
the first of these that it finds:
The AO_HOST_FQDN environment variable.
The hostname, when it already contains a domain.
The host’s /etc/hosts entry for its hostname.
Salt’s /etc/salt/minion_id, when its first label is the hostname.
The resolver’s canonical name for the hostname.
A short hostname is never reported as the FQDN. If a host shows no FQDN,
set AO_HOST_FQDN (for example to the Salt minion ID) and restart the
Toolkit.
Cloned machines
The Toolkit identifies a host by its machine ID (/etc/machine-id on
Linux), not its name, so many hosts can share a hostname. Machines built
from one image whose machine ID was never regenerated would otherwise look
like one host. When two of them are online, AO tells them apart, and the
Toolkit that was installed later gives itself a host ID of its own and
reconnects as a separate host. Nothing is required from you.If the image was cloned after the Toolkit was installed, both machines
carry the same Toolkit identity. AO accepts only one of them, and the other
logs that it must be re-enrolled: give it its own enrollment token. To avoid
both cases, regenerate the machine ID in images
(rm /etc/machine-id && systemd-machine-id-setup) and install the Toolkit
after cloning.
Verify
Your host appears in the dashboard within seconds of enrollment,
reporting service status and system metrics.
Kubernetes
On Kubernetes, the Toolkit ships in two complementary shapes. Pick one
or apply both — the dashboard’s Install page renders ready-to-apply
manifests for each.
Per-node DaemonSet
One Toolkit pod per node, observing the node’s host services and
system metrics — the same surface as the Linux install above. Each pod
persists its mTLS identity to /var/lib/ao-toolkit on the node, so
restarts re-enroll under the same key.Use the DaemonSet when you want host-level visibility (systemd units,
node metrics, host topology) on the nodes themselves. It needs host
write access for the identity volume, so it does not run on
locked-down environments like GKE Autopilot or EKS Fargate.
Cluster controller
A 2-replica StatefulSet that watches the apiserver and emits the
cluster graph — Cluster, Service, Replica, ScheduledTask, and
BatchJob nodes, plus the Kubernetes event stream. Read-only by
default through a scoped ClusterRole; not privileged and no host
access. Each pod keeps its mTLS identity on a per-pod PVC.At the capability layer the controller is permissive by default,
like every other host — destructive verbs are gated by IAM, not
pre-denied on the box. Because one controller pod can act across the
whole cluster, the reference manifest ships a commented-out
AO_CAPABILITIES_DENY hook so you can add an on-box floor (for example
denying shell.exec, or switching to an allowlist). See Harden the
cluster controller.Use the controller when you want the cluster’s logical topology
(Deployments, StatefulSets, CronJobs, Events) in AO Cloud — including
on managed environments where the DaemonSet can’t run.The controller enriches each Service with env, tier, image,
replicas_desired, and an owned_by edge to a Team node — derived
from labels and annotations on the workload. See
Service metadata for the
label keys it consults and how to override them.Each Replica carries live health signals you can query directly:
condition:ready, condition:oom (sticky — stays true while the
kubelet still records the OOM kill), condition:crashloop,
restart_count, and last_terminated_reason. The controller also
derives Service→Service depends_on edges from NetworkPolicy
rules: ingress peers depend on the target, egress peers are its
dependees. IPBlock peers are skipped (no Service for a CIDR).
ClusterRole and graceful degradation
The controller’s ClusterRole rendered from the dashboard is the
canonical permission set — apply it as-is for the full cluster graph.
It grants read-only get/list/watch on the resource kinds the
controller emits (nodes, pods, namespaces, events,
deployments, statefulsets, daemonsets, replicasets, cronjobs,
jobs, and networkpolicies), plus the narrow mutating verbs the
execution plugins need (for example pods/eviction for node.drain,
deployments/scale for scale.set).If your cluster’s RBAC policy forbids granting one of these,
the controller degrades instead of failing to start. At startup it
checks each watched resource with a SelfSubjectAccessReview and
skips the informers its ServiceAccount can’t list, logging a warning
like:
controller lacks list permission; skipping this informer — graphwill omit this kind (grant the RBAC to enable it) resource=networking.k8s.io/networkpolicies
The rest of the graph still emits. Granting the missing permission
later and restarting the controller restores the skipped kind.
networkpolicies is required for Servicedepends_on edge
derivation. If you carry your own ClusterRole, add
networking.k8s.io/networkpolicies (get/list/watch) — without
it the cluster graph still emits, but service-to-service dependency
edges derived from NetworkPolicies do not.
Host visibility for pkg.list and service.status
Some verbs only answer honestly when the Toolkit can actually observe
the node’s state — not the container’s. In a container, the
Toolkit advertises these verbs only when the required host paths are
mounted in. Without them it silently declines to advertise, and the
dashboard routes the question to another Toolkit (or reports it as
unsupported on that host).If you use the DaemonSet manifests rendered from the dashboard’s
Install page, the required mounts are already wired up. Adjust
this only if you ship your own manifests or run the Toolkit container
by hand.
Verb
Required in-container
What it observes
pkg.list
Node’s package DB bind-mounted under $AO_HOST_ROOT — /var/lib/dpkg on Debian/Ubuntu nodes, /var/lib/rpm (and /usr/lib/sysimage/rpm on newer Fedora/RHEL) on rpm-based nodes
Installed packages on the node
service.status
Host’s DBus system bus socket bind-mounted at /run/dbus/system_bus_socket, plus /run/systemd/system visible
systemd unit state on the node
host.open_files
Node’s /proc bind-mounted under $AO_HOST_ROOT (Linux only)
Open file handles whose on-disk inode has drifted from the path — replaced configs still pinned in memory, held-open deleted files (rotated logs, replaced binaries)
AO_HOST_ROOT points the Toolkit at where the node’s root filesystem
is mounted inside the container (for example /host). It is also
what host.info uses to read /etc/os-release from the node rather
than from the Toolkit image.Running the Toolkit directly on the host (not in a container) needs
none of this — the canonical paths already are the host’s.Collectors have the same rule. The containers collector needs the Docker
socket and the pending-reboot flag needs the host’s /run; see
Container installs for what
each collector needs and what it does without it.
Running both
The DaemonSet and the controller observe different things: nodes vs.
the cluster’s apiserver state. Apply both to see hosts and the
cluster graph stitched together — AO Cloud dedupes overlapping graph
nodes at ingest, so there’s no double-counting.The controller runs two replicas without leader election. Both
replicas emit; ingest collapses duplicates by graph identity.
Reporting a crash
Public Toolkit binaries are shipped with obfuscated symbols, so a panic
stack trace will show mangled function names like main.gHpVYtB. That’s
expected. When you open a support ticket, include:
The full panic output (the entire goroutine dump, not just the
first line).
The version the host is running, as shown under Toolkit version
for the host in AO. In a container that has
updated itself, ao-toolkit version run with
docker exec reports the image’s version instead.
The host’s OS and architecture (for example linux/amd64).
AO support uses the per-build seed shipped with each release to decode
the trace back to real function names and line numbers.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Automated Operations","description":"Documentation for Automated Operations — AI-assisted infrastructure operations.","colors":{"primary":"#0D9488","light":"#57F1DB","dark":"#00A299"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/automatedoperations/images/favicon.png","background":{"color":{"dark":"#04101F"}},"navbar":{"links":[{"href":"https://automatedoperations.com","label":"Website"}]},"footer":{"socials":{"website":"https://automatedoperations.com"}},"seo":{"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"automatedoperations","hasAudioNarration":false,"actualSubdomain":"automatedoperations","customDomains":["docs.automatedoperations.com"],"gitSource":{"type":"github","owner":"automatedoperations","repo":"ao-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10eedd9ffae5051c416cbe"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adfbb055b9a376570c6f3b5","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"Toolkit","count":4},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"Integrations","count":2},{"language":"default","tag":"MCP","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"toolkit/install","slug":"/toolkit/install","pageMetadata":{"title":"Install the Toolkit","description":"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.","href":"/toolkit/install"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Toolkit is a single static binary. It collects service state\n(systemd), system metrics, and infrastructure topology, and streams them\nto AO Cloud over an outbound mTLS channel.`}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Linux (x86_64 or arm64)`}),`\n`,_jsx(_components.li,{children:`Outbound HTTPS/gRPC to AO Cloud`}),`\n`,_jsx(_components.li,{children:`Root (or equivalent) to observe system services`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`install`,children:`Install`}),`\n`,_jsx(_components.p,{children:`Use the install script for the common case. The OCI options below are\nfor air-gapped, immutable, or container-based hosts where pulling a\nshell script isn’t an option.`}),`\n`,_jsx(Heading,{level:`3`,id:`install-script`,children:`Install script`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Copy the exact command — including your enrollment token — from the dashboard`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://get.automatedoperations.com`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`enrollment-toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`container-image`,children:`Container image`}),`\n`,_jsxs(_components.p,{children:[`The Toolkit publishes a multi-arch container image (linux/amd64 and\nlinux/arm64) on the GitHub Container Registry. The package is public —\nno `,_jsx(_components.code,{children:`docker login`}),` required.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ghcr.io/automatedoperations/ao-toolkit:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ta`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`g`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use a pinned tag (for example `,_jsx(_components.code,{children:`0.0.1-rc50`}),`; image tags have no `,_jsx(_components.code,{children:`v`}),`) in\nproduction; `,_jsx(_components.code,{children:`:latest`}),` tracks the newest release.`]}),`\n`,_jsxs(_components.p,{children:[`The tag sets the version a container starts on. Container installs can\nalso update themselves to newer releases, under a policy you control; see\n`,_jsx(_components.a,{href:`/toolkit/updates`,children:`Automatic updates`}),`.`]}),`\n`,_jsx(_components.p,{children:`Optionally verify the image’s keyless cosign signature before running\nit on production hosts:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cosign`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verify`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ghcr.io/automatedoperations/ao-toolkit:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ta`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`g`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --certificate-identity-regexp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://github.com/automatedoperations/ao-toolkit/.+'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --certificate-oidc-issuer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://token.actions.githubusercontent.com`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A successful verification prints `,_jsx(_components.code,{children:`Verified OK`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`standalone-binary-oci-artifact`,children:`Standalone binary (OCI artifact)`}),`\n`,_jsxs(_components.p,{children:[`Each release also publishes the raw Linux binary as an OCI artifact you\ncan pull with `,_jsx(_components.a,{href:`https://oras.land`,children:_jsx(_components.code,{children:`oras`})}),` — useful for hosts that don’t\nrun a container runtime.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# linux/amd64 — replace amd64 with arm64 for arm hosts`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`oras`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ghcr.io/automatedoperations/ao-toolkit-cli:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ta`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`g`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`-linux-amd64`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`chmod`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` +x`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ao-toolkit-linux-amd64`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./ao-toolkit-linux-amd64`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` enroll`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`enrollment-toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The Linux OCI binaries are cosign-signed against the `,_jsx(_components.code,{children:`ao-toolkit-cli`}),`\nreference. macOS and Windows builds are distributed through the\ndashboard with Apple notarization and Authenticode signatures.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-enrollment-does`,children:`What enrollment does`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`The Toolkit generates a keypair `,_jsx(_components.strong,{children:`on the host`}),` — private keys never\nleave the machine.`]}),`\n`,_jsx(_components.li,{children:`It exchanges your one-time enrollment token for a short-lived mTLS\nclient certificate.`}),`\n`,_jsx(_components.li,{children:`Certificates renew automatically in the background for the life of\nthe install.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`host-name`,children:`Host name`}),`\n`,_jsxs(_components.p,{children:[`AO knows each host by its hostname and, when it has one, its fully\nqualified domain name (FQDN). The FQDN is what you key hosts by in your\ninventory, configuration management or deploy tooling, so it is treated as\nan `,_jsx(_components.strong,{children:`identifier`}),`: it does not have to resolve in DNS. The Toolkit reports\nthe first of these that it finds:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`AO_HOST_FQDN`}),` environment variable.`]}),`\n`,_jsx(_components.li,{children:`The hostname, when it already contains a domain.`}),`\n`,_jsxs(_components.li,{children:[`The host’s `,_jsx(_components.code,{children:`/etc/hosts`}),` entry for its hostname.`]}),`\n`,_jsxs(_components.li,{children:[`Salt’s `,_jsx(_components.code,{children:`/etc/salt/minion_id`}),`, when its first label is the hostname.`]}),`\n`,_jsx(_components.li,{children:`The resolver’s canonical name for the hostname.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A short hostname is never reported as the FQDN. If a host shows no FQDN,\nset `,_jsx(_components.code,{children:`AO_HOST_FQDN`}),` (for example to the Salt minion ID) and restart the\nToolkit.`]}),`\n`,_jsx(Heading,{level:`3`,id:`cloned-machines`,children:`Cloned machines`}),`\n`,_jsxs(_components.p,{children:[`The Toolkit identifies a host by its machine ID (`,_jsx(_components.code,{children:`/etc/machine-id`}),` on\nLinux), not its name, so many hosts can share a hostname. Machines built\nfrom one image whose machine ID was never regenerated would otherwise look\nlike one host. When two of them are online, AO tells them apart, and the\nToolkit that was installed later gives itself a host ID of its own and\nreconnects as a separate host. Nothing is required from you.`]}),`\n`,_jsxs(_components.p,{children:[`If the image was cloned `,_jsx(_components.strong,{children:`after`}),` the Toolkit was installed, both machines\ncarry the same Toolkit identity. AO accepts only one of them, and the other\nlogs that it must be re-enrolled: give it its own enrollment token. To avoid\nboth cases, regenerate the machine ID in images\n(`,_jsx(_components.code,{children:`rm /etc/machine-id \u0026\u0026 systemd-machine-id-setup`}),`) and install the Toolkit\nafter cloning.`]}),`\n`,_jsx(Heading,{level:`2`,id:`verify`,children:`Verify`}),`\n`,_jsx(_components.p,{children:`Your host appears in the dashboard within seconds of enrollment,\nreporting service status and system metrics.`}),`\n`,_jsx(Heading,{level:`2`,id:`kubernetes`,children:`Kubernetes`}),`\n`,_jsxs(_components.p,{children:[`On Kubernetes, the Toolkit ships in two complementary shapes. Pick one\nor apply both — the dashboard’s `,_jsx(_components.strong,{children:`Install`}),` page renders ready-to-apply\nmanifests for each.`]}),`\n`,_jsx(Heading,{level:`3`,id:`per-node-daemonset`,children:`Per-node DaemonSet`}),`\n`,_jsxs(_components.p,{children:[`One Toolkit pod per node, observing the node’s host services and\nsystem metrics — the same surface as the Linux install above. Each pod\npersists its mTLS identity to `,_jsx(_components.code,{children:`/var/lib/ao-toolkit`}),` on the node, so\nrestarts re-enroll under the same key.`]}),`\n`,_jsxs(_components.p,{children:[`Use the DaemonSet when you want host-level visibility (systemd units,\nnode metrics, host topology) on the nodes themselves. It needs host\nwrite access for the identity volume, so it does `,_jsx(_components.strong,{children:`not`}),` run on\nlocked-down environments like GKE Autopilot or EKS Fargate.`]}),`\n`,_jsx(Heading,{level:`3`,id:`cluster-controller`,children:`Cluster controller`}),`\n`,_jsxs(_components.p,{children:[`A 2-replica `,_jsx(_components.code,{children:`StatefulSet`}),` that watches the apiserver and emits the\ncluster graph — `,_jsx(_components.code,{children:`Cluster`}),`, `,_jsx(_components.code,{children:`Service`}),`, `,_jsx(_components.code,{children:`Replica`}),`, `,_jsx(_components.code,{children:`ScheduledTask`}),`, and\n`,_jsx(_components.code,{children:`BatchJob`}),` nodes, plus the Kubernetes event stream. Read-only by\ndefault through a scoped `,_jsx(_components.code,{children:`ClusterRole`}),`; not privileged and no host\naccess. Each pod keeps its mTLS identity on a per-pod PVC.`]}),`\n`,_jsxs(_components.p,{children:[`At the capability layer the controller is `,_jsx(_components.strong,{children:`permissive by default`}),`,\nlike every other host — destructive verbs are gated by IAM, not\npre-denied on the box. Because one controller pod can act across the\nwhole cluster, the reference manifest ships a commented-out\n`,_jsx(_components.code,{children:`AO_CAPABILITIES_DENY`}),` hook so you can add an on-box floor (for example\ndenying `,_jsx(_components.code,{children:`shell.exec`}),`, or switching to an allowlist). See `,_jsx(_components.a,{href:`/toolkit/configuration#harden-the-cluster-controller`,children:`Harden the\ncluster controller`}),`.`]}),`\n`,_jsx(_components.p,{children:`Use the controller when you want the cluster’s logical topology\n(Deployments, StatefulSets, CronJobs, Events) in AO Cloud — including\non managed environments where the DaemonSet can’t run.`}),`\n`,_jsxs(_components.p,{children:[`The controller enriches each Service with `,_jsx(_components.code,{children:`env`}),`, `,_jsx(_components.code,{children:`tier`}),`, `,_jsx(_components.code,{children:`image`}),`,\n`,_jsx(_components.code,{children:`replicas_desired`}),`, and an `,_jsx(_components.code,{children:`owned_by`}),` edge to a `,_jsx(_components.code,{children:`Team`}),` node — derived\nfrom labels and annotations on the workload. See\n`,_jsx(_components.a,{href:`/toolkit/configuration#service-metadata`,children:`Service metadata`}),` for the\nlabel keys it consults and how to override them.`]}),`\n`,_jsxs(_components.p,{children:[`Each `,_jsx(_components.code,{children:`Replica`}),` carries live health signals you can query directly:\n`,_jsx(_components.code,{children:`condition:ready`}),`, `,_jsx(_components.code,{children:`condition:oom`}),` (sticky — stays true while the\nkubelet still records the OOM kill), `,_jsx(_components.code,{children:`condition:crashloop`}),`,\n`,_jsx(_components.code,{children:`restart_count`}),`, and `,_jsx(_components.code,{children:`last_terminated_reason`}),`. The controller also\nderives Service→Service `,_jsx(_components.code,{children:`depends_on`}),` edges from `,_jsx(_components.code,{children:`NetworkPolicy`}),`\nrules: ingress peers depend on the target, egress peers are its\ndependees. `,_jsx(_components.code,{children:`IPBlock`}),` peers are skipped (no Service for a CIDR).`]}),`\n`,_jsx(Heading,{level:`4`,id:`clusterrole-and-graceful-degradation`,children:`ClusterRole and graceful degradation`}),`\n`,_jsxs(_components.p,{children:[`The controller’s `,_jsx(_components.code,{children:`ClusterRole`}),` rendered from the dashboard is the\ncanonical permission set — apply it as-is for the full cluster graph.\nIt grants read-only `,_jsx(_components.code,{children:`get`}),`/`,_jsx(_components.code,{children:`list`}),`/`,_jsx(_components.code,{children:`watch`}),` on the resource kinds the\ncontroller emits (`,_jsx(_components.code,{children:`nodes`}),`, `,_jsx(_components.code,{children:`pods`}),`, `,_jsx(_components.code,{children:`namespaces`}),`, `,_jsx(_components.code,{children:`events`}),`,\n`,_jsx(_components.code,{children:`deployments`}),`, `,_jsx(_components.code,{children:`statefulsets`}),`, `,_jsx(_components.code,{children:`daemonsets`}),`, `,_jsx(_components.code,{children:`replicasets`}),`, `,_jsx(_components.code,{children:`cronjobs`}),`,\n`,_jsx(_components.code,{children:`jobs`}),`, and `,_jsx(_components.code,{children:`networkpolicies`}),`), plus the narrow mutating verbs the\nexecution plugins need (for example `,_jsx(_components.code,{children:`pods/eviction`}),` for `,_jsx(_components.code,{children:`node.drain`}),`,\n`,_jsx(_components.code,{children:`deployments/scale`}),` for `,_jsx(_components.code,{children:`scale.set`}),`).`]}),`\n`,_jsxs(_components.p,{children:[`If your cluster’s RBAC policy forbids granting one of these,\n`,_jsx(_components.strong,{children:`the controller degrades instead of failing to start`}),`. At startup it\nchecks each watched resource with a `,_jsx(_components.code,{children:`SelfSubjectAccessReview`}),` and\nskips the informers its ServiceAccount can’t list, logging a warning\nlike:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`controller lacks list permission; skipping this informer — graph`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`will omit this kind (grant the RBAC to enable it)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` resource=networking.k8s.io/networkpolicies`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The rest of the graph still emits. Granting the missing permission\nlater and restarting the controller restores the skipped kind.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`networkpolicies`}),` is required for `,_jsx(_components.code,{children:`Service`}),` `,_jsx(_components.code,{children:`depends_on`}),` edge\nderivation. If you carry your own ClusterRole, add\n`,_jsx(_components.code,{children:`networking.k8s.io/networkpolicies`}),` (`,_jsx(_components.code,{children:`get`}),`/`,_jsx(_components.code,{children:`list`}),`/`,_jsx(_components.code,{children:`watch`}),`) — without\nit the cluster graph still emits, but service-to-service dependency\nedges derived from NetworkPolicies do not.`]})}),`\n`,_jsxs(Heading,{level:`3`,id:`host-visibility-for-pkg-list-and-service-status`,children:[`Host visibility for `,_jsx(_components.code,{children:`pkg.list`}),` and `,_jsx(_components.code,{children:`service.status`})]}),`\n`,_jsxs(_components.p,{children:[`Some verbs only answer honestly when the Toolkit can actually observe\nthe `,_jsx(_components.strong,{children:`node’s`}),` state — not the container’s. In a container, the\nToolkit advertises these verbs only when the required host paths are\nmounted in. Without them it silently declines to advertise, and the\ndashboard routes the question to another Toolkit (or reports it as\nunsupported on that host).`]}),`\n`,_jsxs(_components.p,{children:[`If you use the DaemonSet manifests rendered from the dashboard’s\n`,_jsx(_components.strong,{children:`Install`}),` page, the required mounts are already wired up. Adjust\nthis only if you ship your own manifests or run the Toolkit container\nby hand.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Verb`}),_jsx(_components.th,{children:`Required in-container`}),_jsx(_components.th,{children:`What it observes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pkg.list`})}),_jsxs(_components.td,{children:[`Node’s package DB bind-mounted under `,_jsx(_components.code,{children:`$AO_HOST_ROOT`}),` — `,_jsx(_components.code,{children:`/var/lib/dpkg`}),` on Debian/Ubuntu nodes, `,_jsx(_components.code,{children:`/var/lib/rpm`}),` (and `,_jsx(_components.code,{children:`/usr/lib/sysimage/rpm`}),` on newer Fedora/RHEL) on rpm-based nodes`]}),_jsx(_components.td,{children:`Installed packages on the node`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service.status`})}),_jsxs(_components.td,{children:[`Host’s DBus system bus socket bind-mounted at `,_jsx(_components.code,{children:`/run/dbus/system_bus_socket`}),`, plus `,_jsx(_components.code,{children:`/run/systemd/system`}),` visible`]}),_jsx(_components.td,{children:`systemd unit state on the node`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`host.open_files`})}),_jsxs(_components.td,{children:[`Node’s `,_jsx(_components.code,{children:`/proc`}),` bind-mounted under `,_jsx(_components.code,{children:`$AO_HOST_ROOT`}),` (Linux only)`]}),_jsx(_components.td,{children:`Open file handles whose on-disk inode has drifted from the path — replaced configs still pinned in memory, held-open deleted files (rotated logs, replaced binaries)`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AO_HOST_ROOT`}),` points the Toolkit at where the node’s root filesystem\nis mounted inside the container (for example `,_jsx(_components.code,{children:`/host`}),`). It is also\nwhat `,_jsx(_components.code,{children:`host.info`}),` uses to read `,_jsx(_components.code,{children:`/etc/os-release`}),` from the node rather\nthan from the Toolkit image.`]}),`\n`,_jsx(_components.p,{children:`Running the Toolkit directly on the host (not in a container) needs\nnone of this — the canonical paths already are the host’s.`}),`\n`,_jsxs(_components.p,{children:[`Collectors have the same rule. The containers collector needs the Docker\nsocket and the pending-reboot flag needs the host’s `,_jsx(_components.code,{children:`/run`}),`; see\n`,_jsx(_components.a,{href:`/toolkit/configuration#container-installs`,children:`Container installs`}),` for what\neach collector needs and what it does without it.`]}),`\n`,_jsx(Heading,{level:`3`,id:`running-both`,children:`Running both`}),`\n`,_jsxs(_components.p,{children:[`The DaemonSet and the controller observe different things: nodes vs.\nthe cluster’s apiserver state. Apply both to see hosts `,_jsx(_components.strong,{children:`and`}),` the\ncluster graph stitched together — AO Cloud dedupes overlapping graph\nnodes at ingest, so there’s no double-counting.`]}),`\n`,_jsx(_components.p,{children:`The controller runs two replicas without leader election. Both\nreplicas emit; ingest collapses duplicates by graph identity.`}),`\n`,_jsx(Heading,{level:`2`,id:`reporting-a-crash`,children:`Reporting a crash`}),`\n`,_jsxs(_components.p,{children:[`Public Toolkit binaries are shipped with obfuscated symbols, so a panic\nstack trace will show mangled function names like `,_jsx(_components.code,{children:`main.gHpVYtB`}),`. That’s\nexpected. When you open a support ticket, include:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`full`}),` panic output (the entire `,_jsx(_components.code,{children:`goroutine`}),` dump, not just the\nfirst line).`]}),`\n`,_jsxs(_components.li,{children:[`The version the host is running, as shown under `,_jsx(_components.strong,{children:`Toolkit version`}),`\nfor the host in AO. In a container that has\n`,_jsx(_components.a,{href:`/toolkit/updates`,children:`updated itself`}),`, `,_jsx(_components.code,{children:`ao-toolkit version`}),` run with\n`,_jsx(_components.code,{children:`docker exec`}),` reports the image’s version instead.`]}),`\n`,_jsxs(_components.li,{children:[`The host’s OS and architecture (for example `,_jsx(_components.code,{children:`linux/amd64`}),`).`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`AO support uses the per-build seed shipped with each release to decode\nthe trace back to real function names and line numbers.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Install the Toolkit","description":"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.","href":"/toolkit/install"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"Install","slug":"install","depth":2,"children":[{"title":"Install script","slug":"install-script","depth":3,"children":[]},{"title":"Container image","slug":"container-image","depth":3,"children":[]},{"title":"Standalone binary (OCI artifact)","slug":"standalone-binary-oci-artifact","depth":3,"children":[]}]},{"title":"What enrollment does","slug":"what-enrollment-does","depth":2,"children":[]},{"title":"Host name","slug":"host-name","depth":2,"children":[{"title":"Cloned machines","slug":"cloned-machines","depth":3,"children":[]}]},{"title":"Verify","slug":"verify","depth":2,"children":[]},{"title":"Kubernetes","slug":"kubernetes","depth":2,"children":[{"title":"Per-node DaemonSet","slug":"per-node-daemonset","depth":3,"children":[]},{"title":"Cluster controller","slug":"cluster-controller","depth":3,"children":[]},{"title":"ClusterRole and graceful degradation","slug":"clusterrole-and-graceful-degradation","depth":4,"children":[]},{"title":"Host visibility for pkg.list and service.status","slug":"host-visibility-for-pkg-list-and-service-status","depth":3,"children":[]},{"title":"Running both","slug":"running-both","depth":3,"children":[]}]},{"title":"Reporting a crash","slug":"reporting-a-crash","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"automatedoperations","siteName":"Automated Operations","title":"Install the Toolkit - Automated Operations","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T21:17:43.868Z","originalFileLocation":"toolkit/install.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Automated Operations\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/automatedoperations/images/favicon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/automatedoperations/images/favicon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/automatedoperations/images/favicon.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/automatedoperations/images/favicon.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Install the Toolkit - Automated Operations\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Automated Operations\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.automatedoperations.com/toolkit/install\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://automatedoperations.mintlify.site/_mintlify/api/og/v2?division=Toolkit\u0026amp;title=Install+the+Toolkit\u0026amp;description=Install+the+AO+Toolkit+on+Linux+hosts+or+Kubernetes+%E2%80%94+per-node+DaemonSet+for+host+visibility%2C+cluster+controller+for+apiserver+topology.\u0026amp;theme=63034e5a701f6a996d57ca66\u0026amp;signature=402bcb9d3f90a32861a90d7cb8710c7c01d510bbe4034f4c59602ec74e80e379\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Install the Toolkit - Automated Operations\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://automatedoperations.mintlify.site/_mintlify/api/og/v2?division=Toolkit\u0026amp;title=Install+the+Toolkit\u0026amp;description=Install+the+AO+Toolkit+on+Linux+hosts+or+Kubernetes+%E2%80%94+per-node+DaemonSet+for+host+visibility%2C+cluster+controller+for+apiserver+topology.\u0026amp;theme=63034e5a701f6a996d57ca66\u0026amp;signature=402bcb9d3f90a32861a90d7cb8710c7c01d510bbe4034f4c59602ec74e80e379\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/automatedoperations/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Automated Operations\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9488\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.automatedoperations.com/toolkit/install\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/toolkit/install.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.automatedoperations.com/#organization\",\"name\":\"Automated Operations\",\"url\":\"https://docs.automatedoperations.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.automatedoperations.com#website\",\"name\":\"Automated Operations\",\"url\":\"https://docs.automatedoperations.com\",\"publisher\":{\"@id\":\"https://docs.automatedoperations.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.automatedoperations.com/toolkit/install#webpage\",\"url\":\"https://docs.automatedoperations.com/toolkit/install\",\"name\":\"Install the Toolkit\",\"description\":\"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.\",\"dateModified\":\"2026-10-23T21:17:43.868Z\",\"isPartOf\":{\"@id\":\"https://docs.automatedoperations.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.automatedoperations.com/toolkit/install#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.automatedoperations.com/toolkit/install#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automated Operations\",\"item\":\"https://docs.automatedoperations.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install the Toolkit\",\"item\":\"https://docs.automatedoperations.com/toolkit/install\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.automatedoperations.com/toolkit/install#article\",\"headline\":\"Install the Toolkit\",\"name\":\"Install the Toolkit\",\"description\":\"Install the AO Toolkit on Linux hosts or Kubernetes — per-node DaemonSet for host visibility, cluster controller for apiserver topology.\",\"url\":\"https://docs.automatedoperations.com/toolkit/install\",\"mainEntityOfPage\":{\"@id\":\"https://docs.automatedoperations.com/toolkit/install#webpage\"},\"dateModified\":\"2026-10-23T21:17:43.868Z\",\"publisher\":{\"@id\":\"https://docs.automatedoperations.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.automatedoperations.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Automated Operations\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Automated Operations\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/toolkit/install.md","siteName":"Automated Operations","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting started","pages":[{"title":"Automated Operations: AI-assisted infrastructure ops","href":""},{"title":"Quickstart: install the Toolkit and ask your first question","description":"Sign up for AO Cloud, install the Toolkit on a host with an enrollment token, and ask your AI assistant its first infrastructure question.","href":"/quickstart"}]},{"group":"Toolkit","pages":[{"title":"Install the Toolkit","href":"/toolkit/install"},{"title":"Configure the Toolkit","description":"Configure Toolkit labels, the collectors and every event kind they send, and the on-box capability gate that decides which sensitive verbs each host will run for AO Cloud.","href":"/toolkit/configuration"},{"title":"Send events from applications on a host","href":"/toolkit/local-events"},{"title":"Automatic updates","href":"/toolkit/updates"}]},{"group":"Integrations","pages":[{"title":"Send events with an AO Webhook","href":"/integrations/ao-webhooks"},{"title":"Reconnect an integration","href":"/integrations/reconnect"}]},{"group":"MCP","pages":[{"title":"Connect Claude to AO over MCP","href":"/mcp/connect-claude"}]}]}]},"basePath":"","title":"Install the Toolkit - Automated Operations","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}