Skip to content

Commit 0c1003e

Browse files
update test-case-cmd.yaml
1 parent 56925f1 commit 0c1003e

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

tests/test-case-cmd.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: mcad.ibm.com/v1beta1
22
kind: AppWrapper
33
metadata:
4-
name: unit-cmd-cluster
5-
namespace: default
4+
name: mnisttest
5+
namespace: opendatahub
66
spec:
77
priority: 9
88
resources:
@@ -18,23 +18,23 @@ spec:
1818
memory: 8G
1919
nvidia.com/gpu: 0
2020
- limits:
21-
cpu: 1
22-
memory: 2G
23-
nvidia.com/gpu: 1
21+
cpu: 2
22+
memory: 4G
23+
nvidia.com/gpu: 0
2424
replicas: 2
2525
requests:
26-
cpu: 1
27-
memory: 2G
28-
nvidia.com/gpu: 1
26+
cpu: 2
27+
memory: 4G
28+
nvidia.com/gpu: 0
2929
generictemplate:
3030
apiVersion: ray.io/v1alpha1
3131
kind: RayCluster
3232
metadata:
3333
labels:
34-
appwrapper.mcad.ibm.com: unit-cmd-cluster
34+
appwrapper.mcad.ibm.com: mnisttest
3535
controller-tools.k8s.io: '1.0'
36-
name: unit-cmd-cluster
37-
namespace: default
36+
name: mnisttest
37+
namespace: opendatahub
3838
spec:
3939
autoscalerOptions:
4040
idleTimeoutSeconds: 60
@@ -62,7 +62,7 @@ spec:
6262
valueFrom:
6363
fieldRef:
6464
fieldPath: status.podIP
65-
image: rayproject/ray:latest
65+
image: ghcr.io/foundation-model-stack/base:ray2.1.0-py38-gpu-pytorch1.12.0cu116-20221213-193103
6666
imagePullPolicy: Always
6767
lifecycle:
6868
preStop:
@@ -90,12 +90,12 @@ spec:
9090
nvidia.com/gpu: 0
9191
rayVersion: 1.12.0
9292
workerGroupSpecs:
93-
- groupName: small-group-unit-cmd-cluster
93+
- groupName: small-group-mnisttest
9494
maxReplicas: 2
9595
minReplicas: 2
9696
rayStartParams:
9797
block: 'true'
98-
num-gpus: '1'
98+
num-gpus: '0'
9999
replicas: 2
100100
template:
101101
metadata:
@@ -110,7 +110,7 @@ spec:
110110
valueFrom:
111111
fieldRef:
112112
fieldPath: status.podIP
113-
image: rayproject/ray:latest
113+
image: ghcr.io/foundation-model-stack/base:ray2.1.0-py38-gpu-pytorch1.12.0cu116-20221213-193103
114114
lifecycle:
115115
preStop:
116116
exec:
@@ -121,13 +121,13 @@ spec:
121121
name: machine-learning
122122
resources:
123123
limits:
124-
cpu: 1
125-
memory: 2G
126-
nvidia.com/gpu: 1
124+
cpu: 2
125+
memory: 4G
126+
nvidia.com/gpu: 0
127127
requests:
128-
cpu: 1
129-
memory: 2G
130-
nvidia.com/gpu: 1
128+
cpu: 2
129+
memory: 4G
130+
nvidia.com/gpu: 0
131131
initContainers:
132132
- command:
133133
- sh
@@ -142,14 +142,14 @@ spec:
142142
kind: Route
143143
metadata:
144144
labels:
145-
odh-ray-cluster-service: unit-cmd-cluster-head-svc
146-
name: ray-dashboard-unit-cmd-cluster
147-
namespace: default
145+
odh-ray-cluster-service: mnisttest-head-svc
146+
name: ray-dashboard-mnisttest
147+
namespace: opendatahub
148148
spec:
149149
port:
150150
targetPort: dashboard
151151
to:
152152
kind: Service
153-
name: unit-cmd-cluster-head-svc
153+
name: mnisttest-head-svc
154154
replica: 1
155155
Items: []

0 commit comments

Comments
 (0)