Skip to content

Commit 6bce22d

Browse files
authored
Upgrade scheduler-plugins to v0.26.7 (#585)
Signed-off-by: Yuki Iwai <[email protected]>
1 parent 3c7fad6 commit 6bce22d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
3939
GOARCH=$(shell go env GOARCH)
4040
GOOS=$(shell go env GOOS)
4141
# Use go.mod go version as a single source of truth of scheduler-plugins version.
42-
SCHEDULER_PLUGINS_VERSION?=$(shell awk '/scheduler-plugins/{print $$2}' go.mod|head -n1)
42+
SCHEDULER_PLUGINS_VERSION?=$(shell go list -m -f "{{.Version}}" sigs.k8s.io/scheduler-plugins)
4343
VOLCANO_SCHEDULER_VERSION?=$(shell go list -m -f "{{.Version}}" volcano.sh/apis)
4444

4545
CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f
1818
k8s.io/utils v0.0.0-20230209194617-a36077c30491
1919
sigs.k8s.io/controller-runtime v0.15.1
20-
sigs.k8s.io/scheduler-plugins v0.25.7
20+
sigs.k8s.io/scheduler-plugins v0.26.7
2121
sigs.k8s.io/structured-merge-diff/v4 v4.2.3
2222
volcano.sh/apis v1.7.0
2323
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,8 @@ sigs.k8s.io/controller-runtime v0.15.1 h1:9UvgKD4ZJGcj24vefUFgZFP3xej/3igL9BsOUT
689689
sigs.k8s.io/controller-runtime v0.15.1/go.mod h1:7ngYvp1MLT+9GeZ+6lH3LOlcHkp/+tzA/fmHa4iq9kk=
690690
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
691691
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
692-
sigs.k8s.io/scheduler-plugins v0.25.7 h1:2qSTXfHmzfFZJF9M9UHLiDXGdDXX+sUs/cn0dHbc4qk=
693-
sigs.k8s.io/scheduler-plugins v0.25.7/go.mod h1:CKgZ1xu9WZdB3CMSzOjro/rtrBY/bQWMf6un2M9VNS4=
692+
sigs.k8s.io/scheduler-plugins v0.26.7 h1:GW7UN2cbqgdAWEjwmhM3iJFTVmhtC1jQ++UnUByYFyw=
693+
sigs.k8s.io/scheduler-plugins v0.26.7/go.mod h1:EUJPaj+L54KGwV0D018nfyfzjf5WLOM8uU+TOZpv9tI=
694694
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE=
695695
sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E=
696696
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=

test/e2e/e2e_suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const (
6161
volcanoSchedulerManifestPath = rootPath + "/dep-manifests/volcano-scheduler/" // all in one yaml of volcano-development.yaml
6262
envUseExistingSchedulerPlugins = "USE_EXISTING_SCHEDULER_PLUGINS"
6363
envUseExistingVolcanoScheduler = "USE_EXISTING_VOLCANO_SCHEDULER"
64-
defaultSchedulerPluginsVersion = "v0.25.7"
64+
defaultSchedulerPluginsVersion = "v0.26.7"
6565
defaultVolcanoSchedulerVersion = "v1.7.0"
6666

6767
mpiOperator = "mpi-operator"
@@ -183,7 +183,7 @@ func installOperator() error {
183183

184184
func installSchedulerPlugins() error {
185185
// TODO: Remove flags to overwrite images once the scheduler-plugins with the appropriate helm charts is released.
186-
// In the specific scheudler-plugins version such as v0.25.7, manifests are incorrect.
186+
// In the specific scheudler-plugins version such as v0.26.7, manifests are incorrect.
187187
// So we overwrite images.
188188
overwriteControllerImage := fmt.Sprintf("controller.image=registry.k8s.io/scheduler-plugins/controller:%s", schedulerPluginsVersion)
189189
overwriteSchedulerImage := fmt.Sprintf("scheduler.image=registry.k8s.io/scheduler-plugins/kube-scheduler:%s", schedulerPluginsVersion)

0 commit comments

Comments
 (0)