Documentation/Start here
Start here · v0.0.1

Install the lifecycle agent

Deploy the container-first agent, establish its trust and placement contract, then verify heartbeat and version compatibility.

AudiencePlatform administrators, network and security teamsReading time15 minCommands in context19 guided stepsReviewed sourcefcc5871 · 30 July 2026
RC

Exact release scope. This page documents the reviewed v0.0.1 source at fcc5871. Check release status before enabling a gated capability.

Placement and host baseline

The Linux agent runs as a long-lived container. The release includes a Compose deployment and an optional systemd wrapper. Supported host baselines are Ubuntu 22.04 or newer, Debian 12 or newer, and RHEL/Rocky/AlmaLinux 9 or newer.

Trust modeUse whenRequirement
Public CA TLSThe API endpoint has a publicly trusted certificate.Hostname verification and complete chain must succeed.
Private CA TLSThe customer PKI signs the API endpoint.Provide the trusted CA path; do not disable certificate verification.
mTLSThe deployment profile requires mutual identity.Provision client identity and CA trust through the supported secret boundary.
Loopback/localAgent and API share the approved single-node profile.Keep the bind local and document the placement exception.

Bootstrap configuration

/etc/clusterpilot-agent/clusterpilot-agent.env
CP_AGENT_BACKEND_URL=https://clusterpilot.example.com
CP_AGENT_ID=agent-prod-eu-01
CP_AGENT_BOOTSTRAP_TOKEN_FILE=/run/secrets/clusterpilot-bootstrap-token
CP_AGENT_TRUSTED_CA_PATH=/etc/ssl/certs/customer-root-ca.pem
CP_AGENT_IMAGE=registry.example.com/clusterpilot/clusterpilot-agent@sha256:<digest>
CP_AGENT_SHUTDOWN_GRACE_SECONDS=300

Long-lived installs should use CP_AGENT_BOOTSTRAP_TOKEN_FILE. The parser accepts strict KEY=VALUE input and rejects shell substitution, backticks, pipes, and redirects.

Validate locally and verify heartbeat

Then verify the agent in GET /api/v1/agent/active and the administrator fleet view. Do not enable lifecycle operations until placement, trust, runtime, reachability, clock, and contract-version checks are accepted.

Version and shutdown contract

StateBehavior
NCurrent agent version; fully compatible.
N-1Accepted during a rolling upgrade; upgrade before the next control-plane version.
N-2 or olderRejected with AGENT_VERSION_INCOMPATIBLE and receives no work.
Missing contract advertisementIncompatible; no work is issued.

Safe rollout order

  1. 01

    Deploy agents that advertise the new contract

    Keep the control plane on the existing run contract during this step.

  2. 02

    Verify the active fleet

    Confirm version, placement, trust, clock, and supported contract versions.

  3. 03

    Enable the new run contract

    Only after a compatible agent is active should the control plane issue new-version work.

  4. 04

    Retire N-1 agents

    Drain or let compatible work finish, then converge the fleet before the next upgrade.