Skip to content

Commit

Permalink
Backport of docs: clarify migration behavior under nomad alloc stop
Browse files Browse the repository at this point in the history
… into release/1.4.x (#16481)

This pull request was automerged via backport-assistant
  • Loading branch information
hc-github-team-nomad-core authored Mar 14, 2023
1 parent ac67a19 commit bd54279
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions website/content/docs/job-specification/ephemeral_disk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,21 @@ job "docs" {
}
}
```
The ephemeral disk can be referenced under `alloc/data/`. More information can be found in the [filesystem internals].

The ephemeral disk can be referenced under `alloc/data/`. More information can
be found in the [filesystem internals][].

## `ephemeral_disk` Parameters

- `migrate` `(bool: false)` - When `sticky` is true, this specifies that the
Nomad client should make a best-effort attempt to migrate the data from a
remote machine if placement cannot be made on the original node. During data
migration, the task will block starting until the data migration has
completed. Migration is atomic and any partially migrated data will be
removed if an error is encountered.
completed. Migration is atomic and any partially migrated data will be removed
if an error is encountered. Note that data migration will not take place if a
client garbage collects a failed allocation or if the allocation has been
intentionally stopped via `nomad alloc stop`, because the original allocation
has already been removed.

- `size` `(int: 300)` - Specifies the size of the ephemeral disk in MB. The
current Nomad ephemeral storage implementation does not enforce this limit;
Expand Down

0 comments on commit bd54279

Please sign in to comment.