forked from aws/aws-parallelcluster-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
244 lines (227 loc) · 9.38 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-7.0
suites:
- name: default
run_list:
- recipe[aws-parallelcluster::default]
attributes:
cluster:
base_os: <%= ENV['BASE_OS'] %>
- name: default_gpu
run_list:
- recipe[aws-parallelcluster::default]
attributes:
cluster:
base_os: <%= ENV['BASE_OS'] %>
nvidia:
enabled: 'yes'
- name: base_install
run_list:
- recipe[aws-parallelcluster::base_install]
attributes:
- name: base_install_gpu
run_list:
- recipe[aws-parallelcluster::base_install]
attributes:
cluster:
nvidia:
enabled: 'yes'
- name: base_config_HeadNode
run_list:
- recipe[aws-parallelcluster::init]
- recipe[aws-parallelcluster::base_config]
attributes:
cluster:
node_type: 'HeadNode'
stack_name: <%= ENV['AWS_STACK_NAME'] %>
volume: <%= ENV['VOLUME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
ephemeral_dir: <%= ENV['EPHEMERAL_DIR'] %>
ebs_shared_dirs: <%= ENV['EBS_SHARED_DIRS'] %>
cluster_user: <%= ENV['CLUSTER_USER'] %>
# base_os is one of the base OSs supported by pcluster
base_os: <%= ENV['BASE_OS'] %>
custom_node_package: <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
os: <%= ENV['OS'] %>
- name: slurm_config_HeadNode_x86_64
run_list: &run_lists_slurm_config_HeadNode
- recipe[aws-parallelcluster::init]
- recipe[aws-parallelcluster::config]
- recipe[aws-parallelcluster::finalize]
- recipe[aws-parallelcluster::tests]
attributes: &attributes_slurm_config_HeadNode
kitchen: true
cluster:
node_type: 'HeadNode'
scheduler: 'slurm'
stack_name: <%= ENV['AWS_STACK_NAME'] %>
volume: <%= ENV['VOLUME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
ephemeral_dir: <%= ENV['EPHEMERAL_DIR'] %>
ebs_shared_dirs: <%= ENV['EBS_SHARED_DIRS'] %>
cluster_user: <%= ENV['CLUSTER_USER'] %>
ddb_table: <%= ENV['DDB_TABLE'] %>
slurm_ddb_table: <%= ENV['DDB_TABLE'] %>
# base_os is one of the base OSs supported by pcluster
base_os: <%= ENV['BASE_OS'] %>
custom_node_package: <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
cluster_s3_bucket: <%= ENV['CLUSTER_CONFIG_S3_BUCKET'] %>
cluster_config_s3_key: <%= ENV['CLUSTER_CONFIG_S3_KEY'] %>
instance_types_data_s3_key: <%= ENV['INSTANCE_TYPES_DATA_S3_KEY'] %>
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
os: <%= ENV['OS'] %>
dcv_enabled: 'head_node'
dcv_port: '8443'
enable_intel_hpc_platform: "<%= ENV['ENABLE_INTEL_HPC_PLATFORM'] %>"
enable_efa: 'compute'
nvidia:
enabled: <%= ENV['NVIDIA_ENABLED'] %>
- name: slurm_config_HeadNode_arm64
run_list: *run_lists_slurm_config_HeadNode
attributes: *attributes_slurm_config_HeadNode
- name: scheduler_plugin_config_HeadNode_x86_64
run_list: &run_lists_scheduler_plugin_config_HeadNode
- recipe[aws-parallelcluster::tests_mock]
- recipe[aws-parallelcluster::init]
- recipe[aws-parallelcluster::config]
- recipe[aws-parallelcluster::finalize]
- recipe[aws-parallelcluster::tests]
attributes: &attributes_scheduler_plugin_config_HeadNode
kitchen: true
cluster:
node_type: 'HeadNode'
scheduler: 'plugin'
stack_name: <%= ENV['AWS_STACK_NAME'] %>
volume: <%= ENV['VOLUME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
ephemeral_dir: <%= ENV['EPHEMERAL_DIR'] %>
ebs_shared_dirs: <%= ENV['EBS_SHARED_DIRS'] %>
cluster_user: <%= ENV['CLUSTER_USER'] %>
ddb_table: <%= ENV['DDB_TABLE'] %>
# base_os is one of the base OSs supported by pcluster
base_os: <%= ENV['BASE_OS'] %>
custom_node_package: <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
cluster_s3_bucket: <%= ENV['CLUSTER_CONFIG_S3_BUCKET'] %>
cluster_config_s3_key: <%= ENV['CLUSTER_CONFIG_S3_KEY'] %>
instance_types_data_s3_key: <%= ENV['INSTANCE_TYPES_DATA_S3_KEY'] %>
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
os: <%= ENV['OS'] %>
dcv_enabled: 'head_node'
dcv_port: '8443'
enable_intel_hpc_platform: "<%= ENV['ENABLE_INTEL_HPC_PLATFORM'] %>"
enable_efa: 'compute'
nvidia:
enabled: <%= ENV['NVIDIA_ENABLED'] %>
- name: scheduler_plugin_config_HeadNode_arm64
run_list: *run_lists_scheduler_plugin_config_HeadNode
attributes: *attributes_scheduler_plugin_config_HeadNode
- name: awsbatch_config_HeadNode_x86_64
run_list: &run_lists_awsbatch_config_HeadNode
- recipe[aws-parallelcluster::init]
- recipe[aws-parallelcluster::config]
- recipe[aws-parallelcluster::finalize]
- recipe[aws-parallelcluster::tests]
attributes: &attributes_awsbatch_config_HeadNode
kitchen: true
cluster:
node_type: 'HeadNode'
scheduler: 'awsbatch'
stack_name: <%= ENV['AWS_STACK_NAME'] %>
volume: <%= ENV['VOLUME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
ephemeral_dir: <%= ENV['EPHEMERAL_DIR'] %>
ebs_shared_dirs: <%= ENV['EBS_SHARED_DIRS'] %>
cluster_user: <%= ENV['CLUSTER_USER'] %>
ddb_table: <%= ENV['DDB_TABLE'] %>
# base_os is one of the base OSs supported by pcluster
base_os: <%= ENV['BASE_OS'] %>
custom_node_package: <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
os: <%= ENV['OS'] %>
dcv_enabled: 'head_node'
dcv_port: '8443'
custom_awsbatchcli_package: <%= ENV['CUSTOM_AWSBATCHCLI_URL'] %>
nvidia:
enabled: <%= ENV['NVIDIA_ENABLED'] %>
- name: awsbatch_config_HeadNode_arm64
run_list: *run_lists_awsbatch_config_HeadNode
attributes: *attributes_awsbatch_config_HeadNode
- name: slurm_config_ComputeFleet_x86_64
run_list: &run_lists_slurm_config_ComputeFleet
- recipe[aws-parallelcluster::init]
- recipe[aws-parallelcluster::config]
- recipe[aws-parallelcluster::finalize]
- recipe[aws-parallelcluster::tests]
attributes: &attributes_slurm_config_ComputeFleet
kitchen: true
cluster:
node_type: 'ComputeFleet'
scheduler: 'slurm'
stack_name: <%= ENV['AWS_STACK_NAME'] %>
volume: <%= ENV['VOLUME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
ephemeral_dir: <%= ENV['EPHEMERAL_DIR'] %>
ebs_shared_dirs: <%= ENV['EBS_SHARED_DIRS'] %>
cluster_user: <%= ENV['CLUSTER_USER'] %>
head_node: <%= ENV['HEAD_NODE'] %>
head_node_private_ip: <%= ENV['HEAD_NODE_PRIVATE_IP'] %>
# base_os is one of the base OSs supported by pcluster
base_os: <%= ENV['BASE_OS'] %>
slurm_nodename: 'fake-dy-compute-1'
custom_node_package: <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
cluster_s3_bucket: <%= ENV['CLUSTER_CONFIG_S3_BUCKET'] %>
cluster_config_s3_key: <%= ENV['CLUSTER_CONFIG_S3_KEY'] %>
instance_types_data_s3_key: <%= ENV['INSTANCE_TYPES_DATA_S3_KEY'] %>
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
os: <%= ENV['OS'] %>
dcv_enabled: 'head_node'
dcv_port: '8443'
enable_efa: 'compute'
nvidia:
enabled: <%= ENV['NVIDIA_ENABLED'] %>
- name: slurm_config_ComputeFleet_arm64
run_list: *run_lists_slurm_config_ComputeFleet
attributes: *attributes_slurm_config_ComputeFleet
- name: scheduler_plugin_config_ComputeFleet_x86_64
run_list: &run_lists_scheduler_plugin_config_ComputeFleet
- recipe[aws-parallelcluster::tests_mock]
- recipe[aws-parallelcluster::init]
- recipe[aws-parallelcluster::config]
- recipe[aws-parallelcluster::finalize]
- recipe[aws-parallelcluster::tests]
attributes: &attributes_scheduler_plugin_config_ComputeFleet
kitchen: true
cluster:
node_type: 'ComputeFleet'
scheduler: 'plugin'
stack_name: <%= ENV['AWS_STACK_NAME'] %>
volume: <%= ENV['VOLUME'] %>
region: <%= ENV['AWS_DEFAULT_REGION'] %>
ephemeral_dir: <%= ENV['EPHEMERAL_DIR'] %>
ebs_shared_dirs: <%= ENV['EBS_SHARED_DIRS'] %>
cluster_user: <%= ENV['CLUSTER_USER'] %>
head_node: <%= ENV['HEAD_NODE'] %>
head_node_private_ip: <%= ENV['HEAD_NODE_PRIVATE_IP'] %>
# base_os is one of the base OSs supported by pcluster
base_os: <%= ENV['BASE_OS'] %>
scheduler_plugin_nodename: 'fake-dy-compute-1'
custom_node_package: <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
cluster_s3_bucket: <%= ENV['CLUSTER_CONFIG_S3_BUCKET'] %>
cluster_config_s3_key: <%= ENV['CLUSTER_CONFIG_S3_KEY'] %>
instance_types_data_s3_key: <%= ENV['INSTANCE_TYPES_DATA_S3_KEY'] %>
# os attribute is used in pipeline code. i.e. centos7, centos7-custom
os: <%= ENV['OS'] %>
dcv_enabled: 'head_node'
dcv_port: '8443'
enable_efa: 'compute'
nvidia:
enabled: <%= ENV['NVIDIA_ENABLED'] %>
- name: scheduler_plugin_config_ComputeFleet_arm64
run_list: *run_lists_scheduler_plugin_config_ComputeFleet
attributes: *attributes_scheduler_plugin_config_ComputeFleet