Skip to content

Commit d46247c

Browse files
authored
Pin the scheduler-plugins version (#1773)
Signed-off-by: Yuki Iwai <[email protected]>
1 parent 7067269 commit d46247c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/gha/setup-training-operator.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ if [ "${GANG_SCHEDULER_NAME}" = "scheduler-plugins" ]; then
3939
git clone https://github.com/kubernetes-sigs/scheduler-plugins.git
4040
pushd scheduler-plugins/manifests/install/charts
4141

42+
# Since https://github.com/kubernetes-sigs/scheduler-plugins/pull/526, the scheduler-plugins switch the API group to 'x-k8s.io'.
43+
# So we must use the specific commit version to available the older API group, 'sigs.k8s.io'.
44+
# Details: https://github.com/kubeflow/training-operator/issues/1769
45+
# TODO: Once we support new API group, we should switch the scheduler-plugins version.
46+
git checkout df16b76a226e58b6961b30ba800e5a713d433c44
47+
4248
# We need to use a values.yaml for v1.23 if K8S cluster version is v1.23.x since latest helm chart does not have compatible with v1.23.
4349
# TODO (tenzen-y): Once we stop supporting v1.23, we must remove the below:
4450
K8S_MINOR=$(echo "${KUBERNETES_VERSION}" | cut -d . -f 2)

0 commit comments

Comments
 (0)