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 = [ "yul1" ]
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
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
101 group "prod-group1-csit-shim-arm" {
102 # The "count" parameter specifies the number of the task groups that should
103 # be running under this group. This value must be non-negative and defaults
108 attribute = "${node.class}"
119 # The "task" stanza creates an individual unit of work, such as a Docker
120 # container, web application, or batch processing.
122 # For more information and examples on the "task" stanza, please see
123 # the online documentation at:
125 # https://www.nomadproject.io/docs/job-specification/task.html
127 task "prod-task1-csit-shim-arm" {
128 # The "driver" parameter specifies the task driver that should be used to
132 # The "config" stanza specifies the driver configuration, which is passed
133 # directly to the driver to start the task. The details of configurations
134 # are specific to each driver, so please see specific driver
135 # documentation for more information.
137 image = "csit_shim-ubuntu1804:local"
138 network_mode = "host"
141 "/var/run/docker.sock:/var/run/docker.sock"
146 # The "resources" stanza describes the requirements a task needs to
147 # execute. Resource requirements include memory, network, cpu, and more.
148 # This ensures the task will execute on a machine that contains enough
151 # For more information and examples on the "resources" stanza, please see
152 # the online documentation at:
154 # https://www.nomadproject.io/docs/job-specification/resources.html