File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -89,16 +89,9 @@ def create_app_wrapper(self):
8989 instascale = self.config.instascale
9090 instance_types = self.config.machine_types
9191 env = self.config.envs
92- <<<<<<< HEAD
93- <<<<<<< HEAD
9492 local_interactive = self.config.local_interactive
9593 image_pull_secrets = self.config.image_pull_secrets
96- =======
97- priority = self.config.priority
98- >>>>>>> 7e7a311 ( add priorities and schedulingSpec to SDK)
99- =======
10094 dispatch_priority = self.config.dispatch_priority
101- >>>>>>> b1d1d16 (change 'priority' to 'dispatch priority')
10295 return generate_appwrapper(
10396 name=name,
10497 namespace=namespace,
@@ -113,16 +106,9 @@ def create_app_wrapper(self):
113106 instascale=instascale,
114107 instance_types=instance_types,
115108 env=env,
116- <<<<<<< HEAD
117- <<<<<<< HEAD
118109 local_interactive=local_interactive,
119110 image_pull_secrets=image_pull_secrets,
120- =======
121- priority=priority,
122- >>>>>>> 7e7a311 ( add priorities and schedulingSpec to SDK)
123- =======
124111 dispatch_priority=dispatch_priority,
125- >>>>>>> b1d1d16 (change 'priority' to 'dispatch priority')
126112 )
127113
128114 # creates a new cluster with the provided or default spec
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ metadata:
88 orderedinstance: "m4.xlarge_g4dn.xlarge"
99spec:
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: "default-priority"
115118 containers:
116119 # The Ray head pod
117120 - env:
@@ -221,6 +224,7 @@ spec:
221224 operator: In
222225 values:
223226 - "aw-kuberay"
227+ priorityClassName: "default-priority"
224228 initContainers:
225229 # the env var $RAY_IP is set by the operator if missing, with the value of the head service name
226230 - name: init-myservice
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ spec:
192192 to:
193193 kind: Service
194194 name: unit-test-cluster-head-svc
195- replicas : 1
195+ replica : 1
196196 Items: []
197197 schedulingSpec:
198198 minAvailable: 3
You can’t perform that action at this time.
0 commit comments