@@ -108,23 +108,23 @@ cd mlbatch
108108# Setup priority classes
109109kubectl 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
113113coringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityR
114114atio"}},"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
117117kubectl 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
124124kubectl 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
130130kubectl apply --server-side -k setup.k8s/kuberay
@@ -136,7 +136,7 @@ kubectl apply --server-side -k setup.k8s/kueue
136136kubectl 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
142142helm repo add autopilot https://ibm.github.io/autopilot/
@@ -309,7 +309,7 @@ portable. In this tutorial, we will rely on [user
309309impersonation] ( https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation )
310310with ` kubectl ` to run as a specific user.
311311
312- ## Example workloads
312+ ## Example Workloads
313313
314314Each example workload below is submitted as an
315315[ AppWrapper] ( https://project-codeflare.github.io/appwrapper/ ) . See
0 commit comments