Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 3a1f9d7

Browse files
authored
Merge pull request #634 from k82cn/automated-cherry-pick-of-#630-#631-#632-#633-upstream-release-0.4
Automated cherry pick of #630: v0.4.1 Release Notes #631: Add helm hook crd-install to fix helm install error #632: Set schedConf to defaultSchedulerConf if failing to #633: Added new PRs.
2 parents 323b180 + 57b6a10 commit 3a1f9d7

File tree

7 files changed

+41
-3
lines changed

7 files changed

+41
-3
lines changed

CHANGLOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
## v0.4.1
2+
3+
### Notes:
4+
5+
* Added NodeOrder Plugin
6+
* Added Conformance Plugin
7+
* Removed namespaceAsQueue feature
8+
* Supported Pod without PodGroup
9+
* Added performance metrics for scheduling
10+
11+
### Issues:
12+
13+
* [#632](https://github.com/kubernetes-sigs/kube-batch/pull/632) Set schedConf to defaultSchedulerConf if failing to readSchedulerConf ([@hex108](https://github.com/hex108))
14+
* [#631](https://github.com/kubernetes-sigs/kube-batch/pull/631) Add helm hook crd-install to fix helm install error ([@hex108](https://github.com/hex108))
15+
* [#584](https://github.com/kubernetes-sigs/kube-batch/pull/584) Replaced FIFO by workqueue. ([@k82cn](https://github.com/k82cn))
16+
* [#585](https://github.com/kubernetes-sigs/kube-batch/pull/585) Removed invalid error log. ([@k82cn](https://github.com/k82cn))
17+
* [#594](https://github.com/kubernetes-sigs/kube-batch/pull/594) Fixed Job.Clone issue. ([@k82cn](https://github.com/k82cn))
18+
* [#600](https://github.com/kubernetes-sigs/kube-batch/pull/600) Fixed duplicated queue in preempt action. ([@k82cn](https://github.com/k82cn))
19+
* [#596](https://github.com/kubernetes-sigs/kube-batch/pull/596) Set default PodGroup for Pods. ([@k82cn](https://github.com/k82cn))
20+
* [#587](https://github.com/kubernetes-sigs/kube-batch/pull/587) Adding node priority ([@thandayuthapani](https://github.com/thandayuthapani))
21+
* [#607](https://github.com/kubernetes-sigs/kube-batch/pull/607) Fixed flaky test. ([@k82cn](https://github.com/k82cn))
22+
* [#610](https://github.com/kubernetes-sigs/kube-batch/pull/610) Updated log level. ([@k82cn](https://github.com/k82cn))
23+
* [#609](https://github.com/kubernetes-sigs/kube-batch/pull/609) Added conformance plugin. ([@k82cn](https://github.com/k82cn))
24+
* [#604](https://github.com/kubernetes-sigs/kube-batch/pull/604) Moved default implementation from pkg. ([@k82cn](https://github.com/k82cn))
25+
* [#613](https://github.com/kubernetes-sigs/kube-batch/pull/613) Removed namespaceAsQueue. ([@k82cn](https://github.com/k82cn))
26+
* [#615](https://github.com/kubernetes-sigs/kube-batch/pull/615) Handled minAvailable task everytime. ([@k82cn](https://github.com/k82cn))
27+
* [#603](https://github.com/kubernetes-sigs/kube-batch/pull/603) Added PriorityClass to PodGroup. ([@k82cn](https://github.com/k82cn))
28+
* [#618](https://github.com/kubernetes-sigs/kube-batch/pull/618) Added JobPriority e2e. ([@k82cn](https://github.com/k82cn))
29+
* [#622](https://github.com/kubernetes-sigs/kube-batch/pull/622) Update doc & deployment. ([@k82cn](https://github.com/k82cn))
30+
* [#626](https://github.com/kubernetes-sigs/kube-batch/pull/626) Fix helm deployment ([@thandayuthapani](https://github.com/thandayuthapani))
31+
* [#625](https://github.com/kubernetes-sigs/kube-batch/pull/625) Rename PrioritizeFn to NodeOrderFn ([@thandayuthapani](https://github.com/thandayuthapani))
32+
* [#592](https://github.com/kubernetes-sigs/kube-batch/pull/592) Add performance metrics for scheduling ([@Jeffwan](https://github.com/Jeffwan))
33+
134
## v0.4
235

336
### Notes:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BIN_DIR=_output/bin
2-
RELEASE_VER=v0.4
2+
RELEASE_VER=v0.4.1
33
REPO_PATH=github.com/kubernetes-sigs/kube-batch
44
GitSHA=`git rev-parse HEAD`
55
Date=`date "+%Y-%m-%d %H:%M:%S"`

deployment/kube-batch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1alpha1
22
description: The batch scheduler of Kubernetes
33
name: kube-batch
4-
version: 0.4.0
4+
version: 0.4.1

deployment/kube-batch/templates/scheduling_v1alpha1_podgroup.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1beta1
22
kind: CustomResourceDefinition
33
metadata:
44
name: podgroups.scheduling.incubator.k8s.io
5+
annotations:
6+
"helm.sh/hook": "crd-install"
57
spec:
68
group: scheduling.incubator.k8s.io
79
names:

deployment/kube-batch/templates/scheduling_v1alpha1_queue.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1beta1
22
kind: CustomResourceDefinition
33
metadata:
44
name: queues.scheduling.incubator.k8s.io
5+
annotations:
6+
"helm.sh/hook": "crd-install"
57
spec:
68
group: scheduling.incubator.k8s.io
79
names:

deployment/kube-batch/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
replicaCount: 1
55
image:
66
repository: kubesigs
7-
tag: v0.4
7+
tag: v0.4.1
88
pullPolicy: IfNotPresent
99
resources:
1010
limits:

pkg/scheduler/scheduler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func (pc *Scheduler) Run(stopCh <-chan struct{}) {
7070
if schedConf, err = readSchedulerConf(pc.schedulerConf); err != nil {
7171
glog.Errorf("Failed to read scheduler configuration '%s', using default configuration: %v",
7272
pc.schedulerConf, err)
73+
schedConf = defaultSchedulerConf
7374
}
7475
}
7576

0 commit comments

Comments
 (0)