Skip to main content
Compute is in preview. It turns on for a project the first time you run a datumctl compute command there. For product guides, see Compute. To deploy your first app, see Deploy an app.
datumctl compute deploys a container image as a workload that runs in one or more Datum Cloud locations, and provides the day-to-day commands to scale, restart, and delete it. It’s a first-party plugin instead of a built-in command. After you install it, its commands behave like the rest of the CLI.
New to plugins? Using plugins covers installation, upgrades, and how a plugin inherits your active context and credentials. Not installed datumctl itself yet? Start with Install.

Core concepts

A handful of terms recur across every compute command: compute is project-scoped: every command reads --project (or your active context’s project, injected automatically — see Contexts & scoping). There is no organization-level view and no --namespace flag; all compute resources live in the project’s default namespace.

Enabling Compute

Compute is a self-service service: you don’t request access, and no one at Datum reviews it. The first time you run a command that needs Compute, such as deploy, workloads, instances, or build, datumctl checks whether Compute is enabled for the project. If it isn’t, datumctl enables it, waits a few seconds for it to become active, and then runs your command:
datumctl doesn’t prompt before it enables Compute, so the first command works the same way on a terminal, in CI, and in a script. Enabling Compute also gives the project its default compute quota.

Checking access explicitly

To see whether Compute is enabled, or to enable it without running another command, use datumctl compute access:
datumctl compute access prints the service, the project, and an Access line with one of the following states: Add -o json or -o yaml to script against the state instead of parsing prose.

Checking quota

Once active, datumctl compute quota shows how much of your project’s compute allotment is used:
Pass --constrained to show only the resource types that are currently at their limit — the fastest way to check whether a stalled rollout is a quota problem:

Find your way around

Building images

Turn a Dockerfile into an image Compute can run, and check compatibility before you deploy.

Deploying workloads

Deploy a workload from flags or a manifest, and read back its health across locations.

Operations

Roll restarts, watch a rollout, and debug individual Instances.

Viewing logs

Read Instance output or ALB access logs from the terminal.

Destroying workloads

Tear down a workload and every Instance it created.
  • datumctl compute --help and datumctl compute <command> --help for the full flag reference.
  • Compute — product guides for runtime classes, configuration, placement, and publishing workloads.
  • Open a shell with datumctl — datumctl compute exec opens an interactive shell or runs a single command in a running Instance.
  • Using plugins — how the compute plugin is installed, upgraded, and trusted.
  • Contexts & scoping — how the project a compute command runs against is resolved.
  • Output formats & scripting — -o json/-o yaml patterns that apply across compute subcommands.
Last modified on November 6, 2026