Skip to content

Commit

Permalink
update base template with priorities
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelClifford committed Jun 22, 2023
1 parent 3c37651 commit db09cf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/codeflare_sdk/templates/base-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
orderedinstance: "m4.xlarge_g4dn.xlarge"
spec:
priority: 9
schedulingSpec:
minAvailable: 3
resources:
Items: []
GenericItems:
Expand Down Expand Up @@ -112,6 +114,7 @@ spec:
operator: In
values:
- "aw-kuberay"
priorityClassName: "low-priority"
containers:
# The Ray head pod
- env:
Expand Down Expand Up @@ -182,6 +185,7 @@ spec:
operator: In
values:
- "aw-kuberay"
priorityClassName: "low-priority"
initContainers:
# the env var $RAY_IP is set by the operator if missing, with the value of the head service name
- name: init-myservice
Expand Down

0 comments on commit db09cf3

Please sign in to comment.