-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpiall.yaml
41 lines (40 loc) · 1.07 KB
/
mpiall.yaml
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
################################################
# Copyright 2022- IBM Inc. All rights reserved
# SPDX-License-Identifier: Apache-2.0
################################################
apiVersion: kubeflow.org/v1alpha2
kind: MPIJob
metadata:
name: osu-benchmark
spec:
slotsPerWorker: 1
cleanPodPolicy: Running
mpiReplicaSpecs:
Launcher:
replicas: 1
template:
spec:
containers:
- image: sunyanan/osubenchmark:5.6.3
name: mpi-bench-master
command:
- mpirun
- --allow-run-as-root
- -np
- "3"
- /osu-micro-benchmarks-5.6.3/mpi/collective/osu_alltoall
- -m
- "16777216"
nodeSelector:
role: master
imagePullSecrets:
- name: res-cpe-team-docker-local
Worker:
replicas: 3
template:
spec:
containers:
- image: sunyanan/osubenchmark:5.6.3
name: mpi-bench-worker
imagePullSecrets:
- name: res-cpe-team-docker-local