Reference

blossom capacity:init

Create a starter capacity.yml

Usage

blossom capacity:init [--force]

Flags

Flag Description
--force, -f Overwrite an existing starter file

Examples:

blossom capacity:init

capacity.yml:

capacity:
  # automatic: keep shared room for a full App replacement fleet (default).
  # custom: keep at least the reserved capacity below.
  # All running capacity is charged, including spare room.
  reservation_mode: automatic
  # At 0%, deploys may wait for Servers.
  # extra_deploy_capacity_percent: 100

  # Required only with reservation_mode: custom.
  # reserved:
  #   cpu_vcpus: 4
  #   memory_gb: 8

  # Each Location has its own capacity ceiling. Request more with
  # blossom capacity:limit_request:create --location LOCATION_ID --units N --reason "..."
  # Excess Capacity stays warm for one hour by default and is billable.
  # idle_retention_seconds: 3600

Creates a starter App Capacity policy file. Blossom already creates Capacity for each Location; this file configures its reservation policy.

Edit the file, then run:

blossom capacity:update --data capacity.yml

Choose Automatic for shared deploy capacity or Custom for a fixed minimum. At 0%, deploys may wait for Servers. All running capacity is charged. The Location capacity ceiling still applies.