Move resources alphabetical

This commit is contained in:
Seth Vargo 2016-10-30 21:33:10 -04:00
parent aa8f137450
commit 082ba5a3c8
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 19 additions and 19 deletions

View File

@ -157,25 +157,6 @@ job "example" {
}
}
# The "resources" stanza describes the requirements a task needs to
# execute. Resource requirements include memory, disk space, network,
# cpu, and more. This ensures the task will execute on a machine that
# contains enough resource capacity.
#
# For more information and examples on the "resources" stanza, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/resources.html
#
resources {
cpu = 500 # 500 MHz
memory = 256 # 256MB
network {
mbits = 10
port "db" {}
}
}
# The "artifact" stanza instructs Nomad to download an artifact from a
# remote source prior to starting the task. This provides a convenient
# mechanism for downloading configuration files or data needed to run the
@ -209,6 +190,25 @@ job "example" {
# max_file_size = 15
# }
# The "resources" stanza describes the requirements a task needs to
# execute. Resource requirements include memory, disk space, network,
# cpu, and more. This ensures the task will execute on a machine that
# contains enough resource capacity.
#
# For more information and examples on the "resources" stanza, please see
# the online documentation at:
#
# https://www.nomadproject.io/docs/job-specification/resources.html
#
resources {
cpu = 500 # 500 MHz
memory = 256 # 256MB
network {
mbits = 10
port "db" {}
}
}
# The "template" stanza instructs Nomad to manage a template, such as
# a configuration file or script. This template can optionally pull data
# from Consul or Vault to populate runtime configuration data.