-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpilat.yaml
43 lines (42 loc) · 1.11 KB
/
mpilat.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
42
43
################################################
# 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
- "2"
- /osu-micro-benchmarks-5.6.3/mpi/pt2pt/osu_latency
- -m
- "4194304"
nodeSelector:
role: master
imagePullSecrets:
- name: res-cpe-team-docker-local
Worker:
replicas: 2
template:
spec:
containers:
- image: sunyanan/osubenchmark:5.6.3
name: mpi-bench-worker
nodeSelector:
role: worker
imagePullSecrets:
- name: res-cpe-team-docker-local