-
Notifications
You must be signed in to change notification settings - Fork 25
/
values.yaml
99 lines (94 loc) · 2.33 KB
/
values.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
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
image:
repository: everpeace/kube-openmpi
tag: 0.7.0
# pullPolicy: IfNotPresent
# pullSecrets:
# - name: ""
networkPolicy:
enabled: false
sshGateway:
enabled: false
nodePort: 30220
# kube-openmpi cluster consists of 1-Master and N-Workers.
# master is the place you will invoke mpirun/mpiexec.
# 'hostfile' will be automatically generated/updated
# and is available at '/kube-openmpi/generated/hostfile'.
mpiMaster:
autoUpdateHostfile:
enabled: true
# securityContext:
# runAsUser: 1000
# fsGroup: 1000
# oneShot:
# If oneShot.enabled=true, mater automatically runs oneShot.command and complete self.
# enabled: true
# # This will scale workers down to 0 when command completed successfully.
# autoScaleDownWorkers: true
# command: |
# mpiexec --allow-run-as-root \
# --hostfile /kube-openmpi/generated/hostfile \
# --display-map -n 4 -npernode 1 \
# sh -c 'echo $(hostname):hello'
resources:
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
# volumes:
# - name: cache-volume
# emptyDir: {}
# volumeMounts:
# - mountPath: /cache
# name: cache-volume
mpiWorkers:
num: 3
# securityContext:
# runAsUser: 1000
# fsGroup: 1000
# customScheduling:
# enabled: true
# schedulerName: kube-batchd
# podDisruptionBudget:
# enabled: true
resources:
# limits:
# cpu: 100m
# memory: 128Mi
# gpu: 1
# requests:
# cpu: 100m
# memory: 128Mi
# gpu: 1
nodeSelector: {}
tolerations: []
affinity: {}
# volumes:
# - name: cache-volume
# emptyDir: {}
# volumeMounts:
# - mountPath: /cache
# name: cache-volume
appCodesToSync:
# - name: chainermn
# gitRepo: https://github.com/chainer/chainermn.git
# gitBranch: master
# fetchWaitSecond: "120"
# mountPath: /chainermn-examples
# subPath: chainermn/examples
# - name: chainer
# gitRepo: https://github.com/chainer/chainer.git
# gitBranch: master
# fetchWaitSecond: "120"
# mountPath: /chainer-examples
# subPath: chainer/examples
# - name: your-secret-repo
# gitRepo: [email protected]:your-org/your-secret-repo.git
# gitBranch: master
# fetchWaitSecond: "120"
# mountPath: /your-secret-repo
# gitSecretName: git-sync-creds