Skip to content
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

format job init hcl #8483

Merged
merged 1 commit into from
Jul 21, 2020
Merged
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
30 changes: 14 additions & 16 deletions command/assets/connect.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,17 @@ job "countdash" {
# https://www.nomadproject.io/docs/job-specification/affinity.html
#
# affinity {
# attribute specifies the name of a node attribute or metadata
# attribute = "${node.datacenter}"


# value specifies the desired attribute value. In this example Nomad
# will prefer placement in the "us-west1" datacenter.
# value = "us-west1"


# weight can be used to indicate relative preference
# when the job has more than one affinity. It defaults to 50 if not set.
# weight = 100
# }
# # attribute specifies the name of a node attribute or metadata
# attribute = "${node.datacenter}"
#
# # value specifies the desired attribute value. In this example Nomad
# # will prefer placement in the "us-west1" datacenter.
# value = "us-west1"
#
# # weight can be used to indicate relative preference
# # when the job has more than one affinity. It defaults to 50 if not set.
# weight = 100
# }


# The "spread" stanza allows operators to increase the failure tolerance of
Expand All @@ -226,9 +224,9 @@ job "countdash" {
# https://www.nomadproject.io/docs/job-specification/spread.html
#
# spread {
# attribute specifies the name of a node attribute or metadata
# attribute = "${node.datacenter}"

# # attribute specifies the name of a node attribute or metadata
# attribute = "${node.datacenter}"
# }

# targets can be used to define desired percentages of allocations
# for each targeted attribute value.
Expand Down