@@ -108,23 +108,23 @@ cd mlbatch
108
108
# Setup priority classes
109
109
kubectl apply -f setup.k8s/mlbatch-priorities.yaml
110
110
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
113
113
coringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityR
114
114
atio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]'
115
115
116
- # Wait for Coscheduler pods to be running
116
+ # Wait for scheduler-plugins pods to be running
117
117
kubectl get pods -n scheduler-plugins
118
118
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
122
122
123
123
# Create mlbatch-system namespace
124
124
kubectl create namespace mlbatch-system
125
125
126
126
# 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
128
128
129
129
# Deploy Kuberay
130
130
kubectl apply --server-side -k setup.k8s/kuberay
@@ -136,7 +136,7 @@ kubectl apply --server-side -k setup.k8s/kueue
136
136
kubectl get pods -n kueue-system
137
137
138
138
# Deploy AppWrapper
139
- kubectl apply --server-side -k setup.k8s/appwrapper
139
+ kubectl apply --server-side -k setup.k8s/appwrapper/coscheduling
140
140
141
141
# Deploy Autopilot
142
142
helm repo add autopilot https://ibm.github.io/autopilot/
@@ -309,7 +309,7 @@ portable. In this tutorial, we will rely on [user
309
309
impersonation] ( https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation )
310
310
with ` kubectl ` to run as a specific user.
311
311
312
- ## Example workloads
312
+ ## Example Workloads
313
313
314
314
Each example workload below is submitted as an
315
315
[ AppWrapper] ( https://project-codeflare.github.io/appwrapper/ ) . See
0 commit comments