Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions components/schemas/containers/config/ContainerVolume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ properties:
max_size:
$ref: ../../DataSize.yml
description: The maximum size this volume can grow to. Container volumes on Cycle are thinly provisioned, meaning this isn't an allocation - the volume will only use the space it needs up to this size.
stateless:
type:
- boolean
- "null"
default: false
description: >
If set to true, this volume will be treated as ephemeral. Stateless volumes will **NOT** be migrated.

Stateless volumes on stateful containers will be wiped on container stop.
storage_pool:
oneOf:
- type: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ properties:
- type: boolean
- type: "null"
description: Indicates if the volume is part of a storage pool.
stateless:
type:
- boolean
- "null"
default: false
description: >
If set to true, this volume will be treated as ephemeral. Stateless volumes will **NOT** be migrated.

Base volumes cannot be stateless.
- type: "null"
description: Configuration details for a local volume.
external:
Expand Down