wardn agents

Install the agent runtime in a cluster, check it, and remove it.

Agents run in your clusters, never on Wardn's own infrastructure. See Runners for the guide.

wardn agents enable

wardn agents enable --cluster prod-eu --model-key-file ./model-key

Makes the cluster's runtime token in Wardn and installs the runtime and its sandboxes in the wardn-agents namespace of the cluster your kubeconfig points at, then waits for the runtime to connect.

FlagMeaning
--clusterThe cluster, as Wardn names it. Required.
--model-key-file, --model-key-env, --model-secretWhere the model key comes from: a file (- for standard input), an environment variable, or an existing Secret in wardn-agents. The key is kept in a Secret in the cluster.
--gateway-urlWardn's gateway. Defaults to the one the cluster's operator uses.
--gateway-ca-fileThe CA certificate of a gateway signed by Wardn's own CA.
--runtime-image, --sandbox-image, --pull-policyThe images. Default ghcr.io/future-pirate-king/agent-runtime and agent-sandbox at this CLI's version; WARDN_IMAGE_NAMESPACE (such as ghcr.io/acme) changes the namespace.
--sandboxesHow many jobs the cluster runs at once: one sandbox pod each.
--runtime-classA RuntimeClass for the sandboxes, such as gvisor.
--allow-private-host, --extra-egress-cidrWhen Wardn is on a private network.
--selftest-advisoryDevelopment only: report a failed sandbox self-test as a pass, for a network that does not enforce NetworkPolicy.
--dry-runPrint the manifests; call nothing.
--kubeconfig, --contextWhich cluster to install into.

The token is put in a Secret and never in an argument or environment variable.

wardn agents status

wardn agents status --cluster <name> lists the cluster's runtimes: whether each is connected, its self-test, isolation, jobs in flight and version.

wardn agents disable

wardn agents disable --cluster <name> revokes the cluster's runtimes (a job one is running ends as lost) and removes the runtime and sandboxes from the cluster.

On this page