CALM concepts

CALM is built around a few concepts: fleets, compositions, registries, variables and releases. This guide walks you through each of them and how they work together.

Manage your devices with fleets

A fleet is a way to group your edge devices to manage them together. It works best for similar devices that:

  • Run the same applications: one release deploys an application to all of them at once

  • Share common functionalities: you can target them together for actions and monitoring

The Fleets page lists all fleets of the tenant. For each fleet you can see its name, ID, the number of devices broken down by their status, and the overall status of the fleet.

Fleets page with a list of fleets

The details of a fleet are split into four tabs:

  • Overview: the fleet’s details and status, a table of its compositions with their current released version and status, and a table of its devices with their connection and deployment status. The connection status can be delayed by up to 4 minutes

  • Compositions: the compositions added to the fleet, their releases and the status of each deployment

  • Variables: the variables of the fleet, see Variables

  • Releases: the history of releases to the fleet

Important

Fleet membership controls what runs on a device. A device attached to a fleet immediately gets all compositions of the fleet, and a device detached from a fleet immediately loses them.

Compositions

A composition is a containerized application that runs on edge devices. It is described by a Docker Compose file (docker-compose.yml), which defines the application’s containers and the images they use. A composition keeps all versions of your application in one place.

The Compositions page lists all compositions of the tenant, with their name, ID and latest version. Click a composition to see its details.

Compositions page with the list of compositions

Composition versioning

Each version of a composition has its own Docker Compose file and an optional description of what changed. You start by creating the first version of your composition and add new versions as the application changes. Orchestra requires semantic versioning for your compositions, and each version number can be used only once in a composition.

Note

Semantic versioning means versions are numbered like this: Major.Minor.Patch (for example, 1.2.3).

  • Major: increases with changes that might not be backward compatible with previous versions

  • Minor: increases with new features or improvements that are backward compatible

  • Patch: increases with bug fixes or small updates that don’t change functionality

This systematic approach helps you track changes and ensure compatibility.

Connect to your private registries

The Registries page lets you grant Orchestra access to your private container registries.

  • Public registries: if your Docker Compose files use images from public registries, such as Docker Hub, no action is needed. Orchestra can access them automatically

  • Private registries: to use images from a private registry, give Orchestra its address and login details. Orchestra uses them to pull the images of your compositions

To add a private registry:

  1. In the sidebar, click Registries.

  2. Click the “+” button in the top right corner.

  3. Enter the registry details:

    • Name: a clear, descriptive name that makes the registry easy to identify

    • URL: the full address of your private registry

    • Login: your username for the registry

    • Password: your password for the registry

    • Description (optional): a short description, helpful when you manage several registries

  4. Click Add.

Add a new registry window

Deleting a registry revokes Orchestra’s access to it. Compositions that use the registry and are already deployed keep working, but you can’t update them.

Variables

Variables let you customize the environment variables of your Docker Compose files without changing the files. Each variable has a key and a value. The value can be text or a file. Variables with the same key override each other depending on their level.

Variables exist on three levels, marked with a badge:

  • GLOBAL: applies to all fleets and devices

  • FLEET: applies to the devices of one fleet

  • DEVICE: applies to a single device

Variables follow an inheritance hierarchy:

GLOBAL > FLEET > DEVICE

This means that a more specific level, such as a device, overrides a variable from a broader level, such as global, if the same key is used. The variables table shows both the current value and the overridden value. An inherited variable can only be edited on the level it comes from.

Variables can be masked to stop them from being inherited. A masked variable isn’t used on the level where it’s masked and isn’t inherited down, which gives you control over which variables apply to a fleet or a device. You can unmask it again at any time.

The Global variables page (sidebar > Variables) lists all variables on the highest inheritance level.

Global variables page with a list of variables

Variable snapshotting

When you create a release, Orchestra takes a snapshot of all the variables assigned to the devices in the target fleet. Orchestra resolves all variables inherited by each device in the fleet and releases the composition with those values.

What this means: if you customize settings for individual devices in your fleet, those device settings (variables) are captured when you release a composition and become part of the release deployed to those devices.

Warning

If you later change variables, the changes won’t automatically apply to devices already running the released composition. To update the variables a composition uses on its devices, you need to restart the composition.

Release

To deploy your application to a fleet of devices, you create a release. A release is tied to a specific version of a composition that was added to the fleet. This lets you roll back to a previous version if needed.

The deployment of a composition in a fleet has one of these statuses: Planned, Planned when online, In progress, Ok, Degraded, Failed or Unknown. While a release is in progress, no other release can start for that composition.

The Releases tab of a fleet keeps the history of releases: the released version, its status, who released it and when.

Restarting a composition

To apply configuration updates or troubleshoot issues, you can restart a composition in a fleet. This will:

  1. Refresh variables: fetch the latest variable values inherited by the devices.

  2. Redeploy the release: redeploy the released composition version with the updated variables.

Use cases:

  • Troubleshooting: if your application runs into problems, restarting it can often resolve the issue

  • Configuration changes: after you update variables or make other configuration changes, restarting the composition makes sure all devices get the latest settings

Detaching a composition

Detach removes the composition from the fleet, together with all its containers on the fleet’s devices. The composition itself is kept, and you can add it to the fleet again later.

Compositions on a device

The Compositions tab of a device shows the compositions deployed to it through its fleets, with access to their logs. A device that doesn’t belong to any fleet with a released composition has no compositions.