Skip to content

Commit ff58e35

Browse files
authored
Update scheduler-plugins deployment in tutorial (#143)
1 parent e247d08 commit ff58e35

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

setup.KubeConEU25/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -108,23 +108,23 @@ cd mlbatch
108108
# Setup priority classes
109109
kubectl apply -f setup.k8s/mlbatch-priorities.yaml
110110

111-
# Deploy Coscheduler
112-
helm install scheduler-plugins --namespace scheduler-plugins --create-namespace scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ --set-json pluginConfig='[{"args":{"s
111+
# Deploy scheduler plugins
112+
helm install scheduler-plugins --namespace scheduler-plugins --create-namespace scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ --set-json pluginConfig='[{"args":{"s
113113
coringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityR
114114
atio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]'
115115

116-
# Wait for Coscheduler pods to be running
116+
# Wait for scheduler-plugins pods to be running
117117
kubectl get pods -n scheduler-plugins
118118

119-
# Patch Coscheduler pod priorities
120-
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/coscheduler-priority-patch.yaml scheduler-plugins-controller
121-
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
119+
# Patch scheduler-plugins pod priorities
120+
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/scheduler-priority-patch.yaml scheduler-plugins-controller
121+
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/scheduler-priority-patch.yaml scheduler-plugins-scheduler
122122

123123
# Create mlbatch-system namespace
124124
kubectl create namespace mlbatch-system
125125

126126
# Deploy Kubeflow training operator
127-
kubectl apply --server-side -k setup.k8s/training-operator
127+
kubectl apply --server-side -k setup.k8s/training-operator/coscheduling
128128

129129
# Deploy Kuberay
130130
kubectl apply --server-side -k setup.k8s/kuberay
@@ -136,7 +136,7 @@ kubectl apply --server-side -k setup.k8s/kueue
136136
kubectl get pods -n kueue-system
137137

138138
# Deploy AppWrapper
139-
kubectl apply --server-side -k setup.k8s/appwrapper
139+
kubectl apply --server-side -k setup.k8s/appwrapper/coscheduling
140140

141141
# Deploy Autopilot
142142
helm repo add autopilot https://ibm.github.io/autopilot/
@@ -309,7 +309,7 @@ portable. In this tutorial, we will rely on [user
309309
impersonation](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation)
310310
with `kubectl` to run as a specific user.
311311

312-
## Example workloads
312+
## Example Workloads
313313

314314
Each example workload below is submitted as an
315315
[AppWrapper](https://project-codeflare.github.io/appwrapper/). See

0 commit comments

Comments
 (0)