2 # The "region" parameter specifies the region in which to execute the job.
3 # If omitted, this inherits the default region name of "global".
6 # The "datacenters" parameter specifies the list of datacenters which should
7 # be considered when placing this task. This must be provided.
8 datacenters = "${datacenters}"
10 # The "type" parameter controls the type of job, which impacts the scheduler's
11 # decision on placement. This configuration is optional and defaults to
12 # "service". For a full list of job types and their differences, please see
13 # the online documentation.
15 # For more information, please see the online documentation at:
17 # https://www.nomadproject.io/docs/jobspec/schedulers.html
21 # The "group" stanza defines a series of tasks that should be co-located on
22 # the same Nomad client. Any task within a group will be placed on the same
25 # For more information and examples on the "group" stanza, please see
26 # the online documentation at:
28 # https://www.nomadproject.io/docs/job-specification/group.html
30 group "prod-group1-csit-shim-amd" {
31 # The "count" parameter specifies the number of the task groups that should
32 # be running under this group. This value must be non-negative and defaults
34 count = ${group_count}
37 attribute = "$${node.class}"
48 # The "task" stanza creates an individual unit of work, such as a Docker
49 # container, web application, or batch processing.
51 # For more information and examples on the "task" stanza, please see
52 # the online documentation at:
54 # https://www.nomadproject.io/docs/job-specification/task.html
56 task "prod-task1-csit-shim-amd" {
57 # The "driver" parameter specifies the task driver that should be used to
61 # The "config" stanza specifies the driver configuration, which is passed
62 # directly to the driver to start the task. The details of configurations
63 # are specific to each driver, so please see specific driver
64 # documentation for more information.
66 image = "csit_shim-ubuntu1804:local"
70 "/var/run/docker.sock:/var/run/docker.sock"
75 # The "resources" stanza describes the requirements a task needs to
76 # execute. Resource requirements include memory, network, cpu, and more.
77 # This ensures the task will execute on a machine that contains enough
80 # For more information and examples on the "resources" stanza, please see
81 # the online documentation at:
83 # https://www.nomadproject.io/docs/job-specification/resources.html
100 group "prod-group1-csit-shim-arm" {
101 # The "count" parameter specifies the number of the task groups that should
102 # be running under this group. This value must be non-negative and defaults
104 count = ${group_count}
107 attribute = "$${node.class}"
118 # The "task" stanza creates an individual unit of work, such as a Docker
119 # container, web application, or batch processing.
121 # For more information and examples on the "task" stanza, please see
122 # the online documentation at:
124 # https://www.nomadproject.io/docs/job-specification/task.html
126 task "prod-task1-csit-shim-arm" {
127 # The "driver" parameter specifies the task driver that should be used to
131 # The "config" stanza specifies the driver configuration, which is passed
132 # directly to the driver to start the task. The details of configurations
133 # are specific to each driver, so please see specific driver
134 # documentation for more information.
136 image = "csit_shim-ubuntu1804:local"
137 network_mode = "host"
140 "/var/run/docker.sock:/var/run/docker.sock"
145 # The "resources" stanza describes the requirements a task needs to
146 # execute. Resource requirements include memory, network, cpu, and more.
147 # This ensures the task will execute on a machine that contains enough
150 # For more information and examples on the "resources" stanza, please see
151 # the online documentation at:
153 # https://www.nomadproject.io/docs/job-specification/resources.html