File tree 3 files changed +6
-15
lines changed
3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -89,16 +89,9 @@ def create_app_wrapper(self):
89
89
instascale = self .config .instascale
90
90
instance_types = self .config .machine_types
91
91
env = self .config .envs
92
- < << << << HEAD
93
- < << << << HEAD
94
92
local_interactive = self .config .local_interactive
95
93
image_pull_secrets = self .config .image_pull_secrets
96
- == == == =
97
- priority = self .config .priority
98
- >> >> >> > 7e7 a311 ( add priorities and schedulingSpec to SDK )
99
- == == == =
100
94
dispatch_priority = self .config .dispatch_priority
101
- >> >> >> > b1d1d16 (change 'priority' to 'dispatch priority' )
102
95
return generate_appwrapper (
103
96
name = name ,
104
97
namespace = namespace ,
@@ -113,16 +106,9 @@ def create_app_wrapper(self):
113
106
instascale = instascale ,
114
107
instance_types = instance_types ,
115
108
env = env ,
116
- << << << < HEAD
117
- << < << << HEAD
118
109
local_interactive = local_interactive ,
119
110
image_pull_secrets = image_pull_secrets ,
120
- == == == =
121
- priority = priority ,
122
- >> >> >> > 7e7 a311 ( add priorities and schedulingSpec to SDK )
123
- == == == =
124
111
dispatch_priority = dispatch_priority ,
125
- >> >> >> > b1d1d16 (change 'priority' to 'dispatch priority' )
126
112
)
127
113
128
114
# 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:
8
8
orderedinstance : " m4.xlarge_g4dn.xlarge"
9
9
spec :
10
10
priority : 9
11
+ schedulingSpec :
12
+ minAvailable : 3
11
13
resources :
12
14
Items : []
13
15
GenericItems :
@@ -112,6 +114,7 @@ spec:
112
114
operator : In
113
115
values :
114
116
- " aw-kuberay"
117
+ priorityClassName : " default-priority"
115
118
containers :
116
119
# The Ray head pod
117
120
- env :
@@ -221,6 +224,7 @@ spec:
221
224
operator : In
222
225
values :
223
226
- " aw-kuberay"
227
+ priorityClassName : " default-priority"
224
228
initContainers :
225
229
# the env var $RAY_IP is set by the operator if missing, with the value of the head service name
226
230
- name : init-myservice
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ spec:
109
109
nvidia.com/gpu : 0
110
110
imagePullSecrets :
111
111
- name : unit-test-pull-secret
112
+ priorityClassName : default-priority
112
113
rayVersion : 2.1.0
113
114
workerGroupSpecs :
114
115
- groupName : small-group-unit-test-cluster
@@ -192,7 +193,7 @@ spec:
192
193
to :
193
194
kind : Service
194
195
name : unit-test-cluster-head-svc
195
- replicas : 1
196
+ replica : 1
196
197
Items : []
197
198
schedulingSpec :
198
199
minAvailable : 3
You can’t perform that action at this time.
0 commit comments