Skip to content

Commit

Permalink
Merge pull request #207 from thandayuthapani/helm
Browse files Browse the repository at this point in the history
Remove reclaim and preempt by default
  • Loading branch information
volcano-sh-bot authored May 30, 2019
2 parents b97746f + 9e43564 commit 377781d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/run-e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function install-volcano {
kind load docker-image ${MPI_EXAMPLE_IMAGE} ${CLUSTER_CONTEXT}

echo "Install volcano chart"
helm install installer/chart --namespace kube-system --name ${CLUSTER_NAME} --kubeconfig ${KUBECONFIG} --set basic.image_tag_version=${TAG} --wait
helm install installer/chart --namespace kube-system --name ${CLUSTER_NAME} --kubeconfig ${KUBECONFIG} --set basic.image_tag_version=${TAG} --set basic.scheduler_config_file=kube-batch-ci.conf --wait
}

function uninstall-volcano {
Expand Down
11 changes: 11 additions & 0 deletions installer/chart/config/kube-batch-ci.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
actions: "enqueue, reclaim, allocate, backfill, preempt"
tiers:
- plugins:
- name: priority
- name: gang
- name: conformance
- plugins:
- name: drf
- name: predicates
- name: proportion
- name: nodeorder
2 changes: 1 addition & 1 deletion installer/chart/config/kube-batch.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
actions: "enqueue, reclaim, allocate, backfill, preempt"
actions: "enqueue, allocate, backfill"
tiers:
- plugins:
- name: priority
Expand Down
2 changes: 1 addition & 1 deletion installer/chart/templates/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
image: {{.Values.basic.scheduler_image_name}}:{{.Values.basic.image_tag_version}}
args:
- --alsologtostderr
- --scheduler-conf=/volcano.scheduler/kube-batch.conf
- --scheduler-conf=/volcano.scheduler/{{.Values.basic.scheduler_config_file}}
- -v=3
- 2>&1
imagePullPolicy: "IfNotPresent"
Expand Down
1 change: 1 addition & 0 deletions installer/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ basic:
scheduler_image_name: "volcanosh/vk-kube-batch"
admission_image_name: "volcanosh/vk-admission"
admission_secret_name: "volcano-admission-secret"
scheduler_config_file: "kube-batch.conf"
image_pull_secret: ""

0 comments on commit 377781d

Please sign in to comment.