Skip to content

Commit 3700a52

Browse files
committed
PR check fix
1 parent ca0ce39 commit 3700a52

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

manifests/overlays/standalone/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ secretGenerator:
1111
- name: training-operator-webhook-cert
1212
options:
1313
disableNameSuffixHash: true
14+
15+
namePrefix: kubeflow-

scripts/gha/setup-training-operator.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@ if [ "${GANG_SCHEDULER_NAME}" = "scheduler-plugins" ]; then
4040
--set scheduler.image="registry.k8s.io/scheduler-plugins/kube-scheduler:${SCHEDULER_PLUGINS_VERSION}"
4141

4242
echo "Configure gang-scheduling using scheduler-plugins to training-operator"
43-
kubectl patch -n kubeflow deployments training-operator --type='json' \
43+
kubectl patch -n kubeflow deployments kubeflow-training-operator --type='json' \
4444
-p='[{"op": "add", "path": "/spec/template/spec/containers/0/command/1", "value": "--gang-scheduler-name=scheduler-plugins"}]'
4545
elif [ "${GANG_SCHEDULER_NAME}" = "volcano" ]; then
4646
VOLCANO_SCHEDULER_VERSION=$(go list -m -f "{{.Version}}" volcano.sh/apis)
4747

4848
# patch scheduler first so that it is ready when scheduler-deployment installing finished
4949
echo "Configure gang-scheduling using volcano to training-operator"
50-
kubectl patch -n kubeflow deployments training-operator --type='json' \
50+
kubectl patch -n kubeflow deployments kubeflow-training-operator --type='json' \
5151
-p='[{"op": "add", "path": "/spec/template/spec/containers/0/command/1", "value": "--gang-scheduler-name=volcano"}]'
5252

5353
echo "Installing volcano scheduler ${VOLCANO_SCHEDULER_VERSION}..."
5454
kubectl apply -f https://raw.githubusercontent.com/volcano-sh/volcano/${VOLCANO_SCHEDULER_VERSION}/installer/volcano-development.yaml
5555
fi
5656

5757
TIMEOUT=30
58-
until kubectl get pods -n kubeflow | grep training-operator | grep 1/1 || [[ $TIMEOUT -eq 1 ]]; do
58+
until kubectl get pods -n kubeflow | grep kubeflow-training-operator | grep 1/1 || [[ $TIMEOUT -eq 1 ]]; do
5959
sleep 10
6060
TIMEOUT=$(( TIMEOUT - 1 ))
6161
done

0 commit comments

Comments
 (0)