Skip to content

Commit 0b9ab29

Browse files
committed
Modify charm jobs
1 parent e630e3e commit 0b9ab29

File tree

2 files changed

+10
-38
lines changed

2 files changed

+10
-38
lines changed

examples/v2beta1/charm/charm-0.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ spec:
1515
maxReplicas: 1
1616
template:
1717
spec:
18-
volumes:
19-
- name: shared-storage
20-
persistentVolumeClaim:
21-
claimName: shared-storage
2218
containers:
23-
- image: adityapb/charm-netlrts:dev2
19+
- image: adityapb/charm-netlrts:dev-new
2420
imagePullPolicy: Always
2521
name: mpi-launcher
2622
securityContext:
@@ -29,17 +25,14 @@ spec:
2925
- /app/charmrun
3026
args:
3127
- /app/jacobi2d
32-
- "16384"
3328
- "4096"
34-
- "1600"
29+
- "512"
30+
- "3000"
3531
- +balancer
36-
- GreedyLB
32+
- MetisLB
3733
- +LBDebug
3834
- "3"
3935
- ++verbose
40-
volumeMounts:
41-
- mountPath: /dev/shm
42-
name: shared-storage
4336
resources:
4437
limits:
4538
cpu: 1
@@ -49,12 +42,8 @@ spec:
4942
maxReplicas: 10
5043
template:
5144
spec:
52-
volumes:
53-
- name: shared-storage
54-
persistentVolumeClaim:
55-
claimName: shared-storage
5645
containers:
57-
- image: adityapb/charm-netlrts:dev2
46+
- image: adityapb/charm-netlrts:dev-new
5847
imagePullPolicy: Always
5948
name: mpi-worker
6049
securityContext:
@@ -65,9 +54,6 @@ spec:
6554
- -De
6655
- -f
6756
- /home/mpiuser/.sshd_config
68-
volumeMounts:
69-
- mountPath: /dev/shm
70-
name: shared-storage
7157
resources:
7258
limits:
7359
cpu: 1

examples/v2beta1/charm/charm-2.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ spec:
1515
maxReplicas: 1
1616
template:
1717
spec:
18-
volumes:
19-
- name: shared-storage
20-
persistentVolumeClaim:
21-
claimName: shared-storage
2218
containers:
23-
- image: adityapb/charm-netlrts:dev2
19+
- image: adityapb/charm-netlrts:dev-new
2420
imagePullPolicy: Always
2521
name: mpi-launcher
2622
securityContext:
@@ -29,17 +25,14 @@ spec:
2925
- /app/charmrun
3026
args:
3127
- /app/jacobi2d
32-
- "8192"
33-
- "1024"
28+
- "4096"
29+
- "512"
3430
- "300"
3531
- +balancer
36-
- GreedyLB
32+
- MetisLB
3733
- +LBDebug
3834
- "3"
3935
- ++verbose
40-
volumeMounts:
41-
- mountPath: /dev/shm
42-
name: shared-storage
4336
resources:
4437
limits:
4538
cpu: 1
@@ -49,12 +42,8 @@ spec:
4942
maxReplicas: 10
5043
template:
5144
spec:
52-
volumes:
53-
- name: shared-storage
54-
persistentVolumeClaim:
55-
claimName: shared-storage
5645
containers:
57-
- image: adityapb/charm-netlrts:dev2
46+
- image: adityapb/charm-netlrts:dev-new
5847
imagePullPolicy: Always
5948
name: mpi-worker
6049
securityContext:
@@ -65,9 +54,6 @@ spec:
6554
- -De
6655
- -f
6756
- /home/mpiuser/.sshd_config
68-
volumeMounts:
69-
- mountPath: /dev/shm
70-
name: shared-storage
7157
resources:
7258
limits:
7359
cpu: 1

0 commit comments

Comments
 (0)