Skip to content

Commit

Permalink
format job init hcl (#8483)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmood Ali committed Jul 21, 2020
1 parent 1002b10 commit 133e93e
Showing 1 changed file with 14 additions and 16 deletions.
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

0 comments on commit 133e93e

Please sign in to comment.