-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better error handling around Scaling->Max #8360
Changes from all commits
f015e02
7f8176a
a05f3af
15a66e6
b5f595a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
job "elastic" { | ||
group "group" { | ||
scaling {} | ||
scaling { | ||
max = 10 | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
job "elastic" { | ||
group "group" { | ||
scaling { | ||
// required: max = ... | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,8 +36,10 @@ job "docs" { | |
node attribute or metadata. See the | ||
[Nomad spread reference](/docs/job-specification/spread) for more details. | ||
|
||
- `count` `(int: 1)` - Specifies the number of the task groups that should | ||
be running under this group. This value must be non-negative. | ||
- `count` `(int)` - Specifies the number of instances that should be running | ||
under for this group. This value must be non-negative. This defaults to the | ||
`min` value specified in the [`scaling`](/docs/job-specification/scaling) | ||
block, if present; otherwise, this defaults to `1`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lol. yes. thanks 😄 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. uh, actually, i'll leave it alone. i was just trying to update the default here, not the mechanics of |
||
|
||
- `ephemeral_disk` <code>([EphemeralDisk][]: nil)</code> - Specifies the | ||
ephemeral disk requirements of the group. Ephemeral disks can be marked as | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentionally changed from 0 to 10?