docker compose, without an additional host Python control layer. Use aiv with --target compose for routine installation, retries, status, logs, rebuilding and stopping to retain storage identity, ownership, locks, isolated initialization and exit/OOM checks. Native config, ps and logs provide read-only diagnostics when needed.
For Docker CLI, Compose, and Kubernetes, run routine lifecycle operations through the installed aiv. Complete CLI installation and new-terminal verification, then retain the original target, namespace, workdir / blueprint or Compose file / env selectors.
Choose a deployment entry point
A Skill can guide these steps; manual operation does not require AI. Native Compose inspection does not replace guarded installation and stopping.
Helm is planned, but no installable product chart is available.
aiv generate --target kubernetes is the older generic material converter. It lacks the fixed product installation’s initialization and lifecycle management and is not an installation entry point.
The same service responsibilities
Docker CLI, Compose, and Kubernetes deploy the same five application roles, with the database engine handled separately. Choosing seekdb does not remove platform applications. Reusing an external database only skips the managed database container.data-backend is a service; database is the database engine. The logical databases aivision, agentlens and signoz can share one database instance. The data backend must also retain its SQLite metastore. See Architecture overview for query and diagnosis calls.
The new role names help select components without renaming existing containers, Kubernetes workloads and Services, DNS, namespaces, state directories or volumes. Legacy CLI selectors still work: aiv logs be and aiv logs backend select the same role.
Initialization goes beyond starting containers
After the database becomes reachable, installation must create application databases, run migrations, configure internal integrations and obtain the organization identity. Each method implements this shared dependency order through its own tasks or Jobs: The organization ID is passed to diagnosis. The internal integration API key remains in backend-managed configuration and must not be copied into a shared organization file or public deployment material. Backend SQL readiness can succeed before integration bootstrap finishes, so aReady status does not replace successful initialization tasks.
Distinguish liveness, readiness and product acceptance
Liveness checks whether the local process can respond. Readiness checks the dependencies it needs to serve traffic now. A temporary database outage should make dependent services unready while allowing their processes to recover.
Docker / Compose runs
/app/signoz healthcheck --ready for the data backend without requiring a shell or curl inside its container. Kubernetes data-backend startup and readiness probes call the HTTP readiness endpoint.
Compose’s unhealthy status alone does not restart containers, and startup dependencies do not provide continuous orchestration. Kubernetes readiness failure alone does not restart a Pod; liveness failure enters the restart decision.
Verify the product flow separately: send a non-sensitive new Trace with valid reporting credentials, read it back with authentication, and check the Agent, Trace ID and time. Rejection of an unauthorized probe only checks the authentication boundary; it does not prove that a valid request was stored. After an update, also read a Trace retained from before the update. See SDK integration.
Use matching deployment material and images
The product repository’s rootdeploy/ owns blueprints, Compose, fixed Kubernetes templates, initialization scripts and the component mapping. CLI embedding directories are generated compatibility copies. Use complete material from one version rather than mixing old scripts with new templates.
Choose a published, versioned release from the public product Releases. For distributed installation, use the CLI, SHA256SUMS, release-manifest.json, database-specific vars, and application image digests from that release. Check its deployment qualification notes for the targets and architectures you plan to use. Current source includes new SQL readiness, organization-file handoff and bounded shutdown. A source merge does not mean an existing dev / latest image or downloaded CLI contains these changes. The data-backend image must contain /api/v1/ready, healthcheck --ready and the shared metadata connection-pool shutdown fix. Older images without readiness fail instead of falling back to HTTP liveness.
Manual validation covers Linux/amd64 source-candidate builds: CLI with both managed database engines, all four Compose combinations, and the fixed CE path on K3s 1.34.11, including SQL outage recovery and persistence checks. This does not qualify every released image, ARM, cross-release upgrades, HA or production load. See development images and version material for source builds.
The new Go Compose controller and native/CLI round trips require separate runtime acceptance; the earlier controller matrix does not establish that the new path passed.
Preserve deployment identity during updates
- Keep the original namespace, configuration, credentials, state directory, organization identity, data-backend metastore and volumes. Preserve Docker’s fixed history start too.
- When old and role-based keys appear in the same CLI configuration layer, the role key wins. Across layers, defaults, saved values, vars file, environment and command line override in that order. Compose
.envfollows its own rules rather than CLI precedence. - CLI and Compose do not automatically adopt each other’s installations. Changing tools or database engines requires separate backup and migration arrangements; changing selectors, namespace or
OB_BACKENDis insufficient. - Single-instance updates have a maintenance window. Resolve shutdown timeouts, nonzero exits and OOM first. Deleting stop records or forcibly removing containers or volumes is not recovery.