Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions setup.KubeConEU25/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down Expand Up @@ -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
Expand Down