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.
17 # The "group" stanza defines a series of tasks that should be co-located on
18 # the same Nomad client. Any task within a group will be placed on the same
21 # https://www.nomadproject.io/docs/job-specification/group
23 group "csit-shim-amd-group-1" {
24 # The "count" parameter specifies the number of the task groups that should
25 # be running under this group. This value must be non-negative.
26 count = ${group_count}
28 # The constraint allows restricting the set of eligible nodes. Constraints
29 # may filter on attributes or client metadata.
31 # https://www.nomadproject.io/docs/job-specification/constraint
34 attribute = "$${node.class}"
38 # The restart stanza configures a tasks's behavior on task failure. Restarts
39 # happen on the client that is running the task.
41 # https://www.nomadproject.io/docs/job-specification/restart
50 # The network stanza specifies the networking requirements for the task
51 # group, including the network mode and port allocations. When scheduling
52 # jobs in Nomad they are provisioned across your fleet of machines along
53 # with other jobs and services. Because you don't know in advance what host
54 # your job will be provisioned on, Nomad will provide your tasks with
55 # network configuration when they start up.
57 # https://www.nomadproject.io/docs/job-specification/network
68 # The "task" stanza creates an individual unit of work, such as a Docker
69 # container, web application, or batch processing.
71 # https://www.nomadproject.io/docs/job-specification/task
73 task "csit-shim-amd-task-1" {
74 # The "driver" parameter specifies the task driver that should be used to
78 # The "config" stanza specifies the driver configuration, which is passed
79 # directly to the driver to start the task. The details of configurations
80 # are specific to each driver, so please see specific driver
81 # documentation for more information.
83 image = "${image_x86_64}"
87 "/var/run/docker.sock:/var/run/docker.sock"
92 # The "resources" stanza describes the requirements a task needs to
93 # execute. Resource requirements include memory, network, cpu, and more.
94 # This ensures the task will execute on a machine that contains enough
97 # https://www.nomadproject.io/docs/job-specification/resources
106 group "csit-shim-arm-group-1" {
107 # The "count" parameter specifies the number of the task groups that should
108 # be running under this group. This value must be non-negative.
109 count = ${group_count}
111 # The constraint allows restricting the set of eligible nodes. Constraints
112 # may filter on attributes or client metadata.
114 # https://www.nomadproject.io/docs/job-specification/constraint
117 attribute = "$${node.class}"
121 # The restart stanza configures a tasks's behavior on task failure. Restarts
122 # happen on the client that is running the task.
124 # https://www.nomadproject.io/docs/job-specification/restart
133 # The network stanza specifies the networking requirements for the task
134 # group, including the network mode and port allocations. When scheduling
135 # jobs in Nomad they are provisioned across your fleet of machines along
136 # with other jobs and services. Because you don't know in advance what host
137 # your job will be provisioned on, Nomad will provide your tasks with
138 # network configuration when they start up.
140 # https://www.nomadproject.io/docs/job-specification/network
151 # The "task" stanza creates an individual unit of work, such as a Docker
152 # container, web application, or batch processing.
154 # https://www.nomadproject.io/docs/job-specification/task
156 task "csit-shim-arm-task-1" {
157 # The "driver" parameter specifies the task driver that should be used to
161 # The "config" stanza specifies the driver configuration, which is passed
162 # directly to the driver to start the task. The details of configurations
163 # are specific to each driver, so please see specific driver
164 # documentation for more information.
166 image = "${image_aarch64}"
167 network_mode = "host"
170 "/var/run/docker.sock:/var/run/docker.sock"
175 # The "resources" stanza describes the requirements a task needs to
176 # execute. Resource requirements include memory, network, cpu, and more.
177 # This ensures the task will execute on a machine that contains enough
180 # https://www.nomadproject.io/docs/job-specification/resources