File tree 5 files changed +6
-6
lines changed
installer/chart/volcano/config
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
BIN_DIR =_output/bin
2
2
IMAGE =volcano
3
- TAG = 1.0
3
+ TAG = 0.1
4
4
5
5
.EXPORT_ALL_VARIABLES :
6
6
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ function install-volcano {
62
62
helm gen-admission-secret --service integration-admission-service --namespace kube-system
63
63
64
64
echo " Install volcano chart"
65
- helm install installer/chart/volcano --namespace kube-system --name integration --kubeconfig ${KUBECONFIG}
65
+ helm install installer/chart/volcano --namespace kube-system --name integration --kubeconfig ${KUBECONFIG} --set basic.image_tag_version= ${TAG}
66
66
}
67
67
68
68
function uninstall-volcano {
Original file line number Diff line number Diff line change 3
3
- plugins:
4
4
- name: priority
5
5
- name: gang
6
+ - name: conformance
6
7
- plugins:
7
8
- name: drf
8
9
- name: predicates
9
10
- name: proportion
11
+ - name: nodeorder
Original file line number Diff line number Diff line change @@ -232,10 +232,9 @@ func preempt(
232
232
}
233
233
preempted .Add (preemptee .Resreq )
234
234
// If reclaimed enough resources, break loop to avoid Sub panic.
235
- if resreq .LessEqual (preemptee . Resreq ) {
235
+ if resreq .LessEqual (preempted ) {
236
236
break
237
237
}
238
- resreq .Sub (preemptee .Resreq )
239
238
}
240
239
241
240
metrics .RegisterPreemptionAttempts ()
Original file line number Diff line number Diff line change @@ -166,10 +166,9 @@ func (alloc *reclaimAction) Execute(ssn *framework.Session) {
166
166
}
167
167
reclaimed .Add (reclaimee .Resreq )
168
168
// If reclaimed enough resources, break loop to avoid Sub panic.
169
- if resreq .LessEqual (reclaimee . Resreq ) {
169
+ if resreq .LessEqual (reclaimed ) {
170
170
break
171
171
}
172
- resreq .Sub (reclaimee .Resreq )
173
172
}
174
173
175
174
glog .V (3 ).Infof ("Reclaimed <%v> for task <%s/%s> requested <%v>." ,
You can’t perform that action at this time.
0 commit comments