Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin the scheduler-plugins version #1773

Merged
merged 1 commit into from
Mar 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/gha/setup-training-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ if [ "${GANG_SCHEDULER_NAME}" = "scheduler-plugins" ]; then
git clone https://github.com/kubernetes-sigs/scheduler-plugins.git
pushd scheduler-plugins/manifests/install/charts

# Since https://github.com/kubernetes-sigs/scheduler-plugins/pull/526, the scheduler-plugins switch the API group to 'x-k8s.io'.
# So we must use the specific commit version to available the older API group, 'sigs.k8s.io'.
# Details: https://github.com/kubeflow/training-operator/issues/1769
# TODO: Once we support new API group, we should switch the scheduler-plugins version.
git checkout df16b76a226e58b6961b30ba800e5a713d433c44

# 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.
# TODO (tenzen-y): Once we stop supporting v1.23, we must remove the below:
K8S_MINOR=$(echo "${KUBERNETES_VERSION}" | cut -d . -f 2)
Expand Down