Skip to content

Commit db09cf3

Browse files
update base template with priorities
1 parent 3c37651 commit db09cf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/codeflare_sdk/templates/base-template.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
orderedinstance: "m4.xlarge_g4dn.xlarge"
99
spec:
1010
priority: 9
11+
schedulingSpec:
12+
minAvailable: 3
1113
resources:
1214
Items: []
1315
GenericItems:
@@ -112,6 +114,7 @@ spec:
112114
operator: In
113115
values:
114116
- "aw-kuberay"
117+
priorityClassName: "low-priority"
115118
containers:
116119
# The Ray head pod
117120
- env:
@@ -182,6 +185,7 @@ spec:
182185
operator: In
183186
values:
184187
- "aw-kuberay"
188+
priorityClassName: "low-priority"
185189
initContainers:
186190
# the env var $RAY_IP is set by the operator if missing, with the value of the head service name
187191
- name: init-myservice

0 commit comments

Comments
 (0)