diff --git a/setup.KubeConEU25/README.md b/setup.KubeConEU25/README.md index 7fbce9d..0967cbf 100644 --- a/setup.KubeConEU25/README.md +++ b/setup.KubeConEU25/README.md @@ -108,23 +108,23 @@ cd mlbatch # Setup priority classes kubectl apply -f setup.k8s/mlbatch-priorities.yaml -# Deploy Coscheduler -helm install scheduler-plugins --namespace scheduler-plugins --create-namespace scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ --set-json pluginConfig='[{"args":{"s +# Deploy scheduler plugins +helm install scheduler-plugins --namespace scheduler-plugins --create-namespace scheduler-plugins/manifests/install/charts/as-a-second-scheduler/ --set-json pluginConfig='[{"args":{"s coringStrategy":{"resources":[{"name":"nvidia.com/gpu","weight":1}],"requestedToCapacityRatio":{"shape":[{"utilization":0,"score":0},{"utilization":100,"score":10}]},"type":"RequestedToCapacityR atio"}},"name":"NodeResourcesFit"},{"args":{"permitWaitingTimeSeconds":300},"name":"Coscheduling"}]' -# Wait for Coscheduler pods to be running +# Wait for scheduler-plugins pods to be running kubectl get pods -n scheduler-plugins -# Patch Coscheduler pod priorities -kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/coscheduler-priority-patch.yaml scheduler-plugins-controller -kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/coscheduler-priority-patch.yaml scheduler-plugins-scheduler +# Patch scheduler-plugins pod priorities +kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/scheduler-priority-patch.yaml scheduler-plugins-controller +kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/scheduler-priority-patch.yaml scheduler-plugins-scheduler # Create mlbatch-system namespace kubectl create namespace mlbatch-system # Deploy Kubeflow training operator -kubectl apply --server-side -k setup.k8s/training-operator +kubectl apply --server-side -k setup.k8s/training-operator/coscheduling # Deploy Kuberay kubectl apply --server-side -k setup.k8s/kuberay @@ -136,7 +136,7 @@ kubectl apply --server-side -k setup.k8s/kueue kubectl get pods -n kueue-system # Deploy AppWrapper -kubectl apply --server-side -k setup.k8s/appwrapper +kubectl apply --server-side -k setup.k8s/appwrapper/coscheduling # Deploy Autopilot helm repo add autopilot https://ibm.github.io/autopilot/ @@ -309,7 +309,7 @@ portable. In this tutorial, we will rely on [user impersonation](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation) with `kubectl` to run as a specific user. -## Example workloads +## Example Workloads Each example workload below is submitted as an [AppWrapper](https://project-codeflare.github.io/appwrapper/). See