Operator model

What survives a host upgrade?

On a same-kernel roll, Cix can replace its running control plane while workload processes keep their IDs. A workload image update has a different lifecycle. Its container can restart, and state that must survive belongs on a volume.

Control-plane updates

What changes during the handover?

When the staged root carries the running kernel, the host roll waits for quiescence, hands cixd’s runtime state to its successor, switches the root in place, and confirms the new slot. Containers continue running. Host console shells respawn from the new root. Open API streams and container-console connections drop and clients must reconnect.

A root-only update waits if a failed build container has been kept for inspection. Resume the build or remove its kept container to release the hold. A scheduled roll that reaches its wait limit can still reboot into the staged slot. A kernel change requires a reboot. If the switch is refused or fails before the root changes, the roll reboots into the staged slot. A failure to start after the root changes reboots into the previous slot.

same-kernel handoverrunning containers persistA/B fallbackkernel changes reboot

The lifecycle

From deployment to readiness.

Deployments name the image, placement, network, storage, files, services, and restart policy a workload needs. If the image is not ready, Cix queues the work and reports that it is awaiting the image rather than making the operator perform a manual round trip.

01 / DECLAREDeploymentDescribe what should run and which image it needs.

queue and converge

02 / PROGRESSShared pipelineSee acquisition, assembly, staging, deployment, and verification as the work moves.

readiness probe

03 / CONFIRMReady workloadInspect service state, logs, resource views, and the declared console path.

Rolling workload updates

Update the standby first.

For a redundant pair, put both containers in the same roll_group. Give the standby a lower roll_order than the primary. Choose orders from 0 to 999. When both have an image update pending, the primary waits until the standby has stayed ready through its rollback window.

If the service must answer a probe before it can take traffic, set required: true on its readiness probe. After a timeout Cix keeps probing and holds the service unready. If the updated container never becomes ready during probation, it rolls back. A pending update to that blocked version is withdrawn before the next member restarts.

Use cixctl container ls --tree to see containers by category and roll group. Open the container in the dashboard to see why a restart is held. The order applies to image updates.

Deployment configuration

Keep your deployments in your own Git repository.

The public catalogue supplies packages and images. Keep your network assignments, volume names and workload definitions in a repository you control. Register it as a recipe source and sync to pull changes.

To edit a source-owned deployment from the host, enable writes on its source and use cixctl deployment commit with a higher version. Cix commits to Git before updating the local definition. Apply the deployment when you want the change to reach the workload.

On reapply, Cix checks the revised definition before stopping the running container. A validation refusal leaves the current workload in place. Cix reuses secrets supplied on an earlier apply. Inspection reads omit those values, and system backups include them.

Read the deployment guide →
01

Pipeline state

See what is blocked—and why.

Packages, images, deployments, and host updates use one pipeline vocabulary. The dashboard draws each item as a row across the stages it actually uses, preserves run history, and distinguishes a waiting deployment from a failed one. For a running build, one floating log view follows the selected job, identifies the build, shows its current stage and elapsed stage time, and keeps output readable.

acquireassemblestagedeployverifyrun history
02

Runtime feedback

Check the services inside the container.

Readiness is derived from the service definitions and their checks, not inferred from a process merely existing. The dashboard and API expose logs, health, lifecycle state, container-visible resource limits and usage, and the console entry points a workload explicitly declares.

readinesslogs/proc viewsservices[]declared consoles
03

State and updates

Keep durable state where it belongs.

A container root is derived from its image. Image policy controls whether recipe changes are followed, whether applying a recipe converges installed packages, and whether a backward pin is allowed. Writes made inside that root do not survive a new derived root. Persistent data belongs on volumes, where size limits and usage are explicit.

rolling imagesrootfs freshnesspersistent volumessize limits
04

Image policy

Choose when images follow recipes.

An image recipe, its live manifest, and its installed packages are three useful views of the same intent. Set the policy explicitly: follow or manually apply recipes, declare or converge installs, and refuse or allow downgrades. Export the live manifest when the box is the source of a recipe.

manual / followdeclare / convergedowngrade guardrecipe export

Rolling dependencies

Keep runtime dependencies moving too.

In an image with at least one rolling entry, runtime dependencies that are not explicit manifest entries follow the newest published versions through the normal install and ABI checks. Versioned dependency requirements stay held, and images whose entries are all pinned retain their dependencies. Following containers can restart as their images converge.

Visible boundaries

Who can approve a change?

Check the acting identity, the configured approval gates and the storage a deployment can modify.

Go deeper

Operate from the contract.

The dashboard is a client. The API, guides, roadmap, and tests are the operational record.

Open the administration guide Read the dashboard guide