Skip to content

Commit 0cb223a

Browse files
committed
sakkara install instructions
1 parent df87009 commit 0cb223a

File tree

5 files changed

+101
-11
lines changed

5 files changed

+101
-11
lines changed

setup.RHOAI-v2.13/CLUSTER-SETUP.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cluster Setup
22

3-
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
3+
The cluster setup installs Red Hat OpenShift AI and Scheduler Plugins, configures Kueue,
44
cluster roles, and priority classes.
55

66
## Priorities
@@ -10,7 +10,14 @@ Create `default-priority`, `high-priority`, and `low-priority` priority classes:
1010
oc apply -f setup.RHOAI-v2.13/mlbatch-priorities.yaml
1111
```
1212

13-
## Coscheduler
13+
## Scheduler Plugins
14+
15+
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
16+
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
17+
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
18+
as a secondary scheduler for your cluster.
19+
20+
### Coscheduler
1421

1522
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:
1623
```sh
@@ -24,6 +31,17 @@ oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2
2431
oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2.13/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
2532
```
2633

34+
### Sakkara
35+
36+
[Sakkara](https://github.com/atantawi/scheduler-plugins/tree/sakkara) is an experimental
37+
new scheduler plugin with advanced support for topology-aware scheduling.
38+
39+
Install Sakkara as a secondary scheduler:
40+
```sh
41+
helm install sakkara-scheduler --namespace sakkara-scheduler --create-namespace mlbatch/sakkara-scheduler
42+
```
43+
Optionally, create a config map capturing your cluster's topology as described in the [Sakkara documentation](https://github.com/atantawi/sakkara-deploy/tree/main?tab=readme-ov-file#cluster-topology). This step is optional but recommended for production clusters. If the config map is not present Sakkara will default to a single-level hierarchy containing the Nodes of the cluster.
44+
2745
## Red Hat OpenShift AI
2846

2947
Create the Red Hat OpenShift AI subscription:

setup.RHOAI-v2.16/CLUSTER-SETUP.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cluster Setup
22

3-
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
3+
The cluster setup installs Red Hat OpenShift AI and Scheduler Plugins, configures Kueue,
44
cluster roles, and priority classes.
55

66
## Priorities
@@ -10,7 +10,14 @@ Create `default-priority`, `high-priority`, and `low-priority` priority classes:
1010
oc apply -f setup.RHOAI-v2.16/mlbatch-priorities.yaml
1111
```
1212

13-
## Coscheduler
13+
## Scheduler Plugins
14+
15+
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
16+
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
17+
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
18+
as a secondary scheduler for your cluster.
19+
20+
### Coscheduler
1421

1522
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:
1623
```sh
@@ -24,6 +31,17 @@ oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2
2431
oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2.16/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
2532
```
2633

34+
### Sakkara
35+
36+
[Sakkara](https://github.com/atantawi/scheduler-plugins/tree/sakkara) is an experimental
37+
new scheduler plugin with advanced support for topology-aware scheduling.
38+
39+
Install Sakkara as a secondary scheduler:
40+
```sh
41+
helm install sakkara-scheduler --namespace sakkara-scheduler --create-namespace mlbatch/sakkara-scheduler
42+
```
43+
Optionally, create a config map capturing your cluster's topology as described in the [Sakkara documentation](https://github.com/atantawi/sakkara-deploy/tree/main?tab=readme-ov-file#cluster-topology). This step is optional but recommended for production clusters. If the config map is not present Sakkara will default to a single-level hierarchy containing the Nodes of the cluster.
44+
2745
## Red Hat OpenShift AI
2846

2947
Create the Red Hat OpenShift AI subscription:

setup.RHOAI-v2.17/CLUSTER-SETUP.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cluster Setup
22

3-
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
3+
The cluster setup installs Red Hat OpenShift AI and Scheduler Plugins, configures Kueue,
44
cluster roles, and priority classes.
55

66
## Priorities
@@ -10,7 +10,14 @@ Create `default-priority`, `high-priority`, and `low-priority` priority classes:
1010
oc apply -f setup.RHOAI-v2.17/mlbatch-priorities.yaml
1111
```
1212

13-
## Coscheduler
13+
## Scheduler Plugins
14+
15+
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
16+
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
17+
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
18+
as a secondary scheduler for your cluster.
19+
20+
### Coscheduler
1421

1522
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:
1623
```sh
@@ -24,6 +31,17 @@ oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2
2431
oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2.17/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
2532
```
2633

34+
### Sakkara
35+
36+
[Sakkara](https://github.com/atantawi/scheduler-plugins/tree/sakkara) is an experimental
37+
new scheduler plugin with advanced support for topology-aware scheduling.
38+
39+
Install Sakkara as a secondary scheduler:
40+
```sh
41+
helm install sakkara-scheduler --namespace sakkara-scheduler --create-namespace mlbatch/sakkara-scheduler
42+
```
43+
Optionally, create a config map capturing your cluster's topology as described in the [Sakkara documentation](https://github.com/atantawi/sakkara-deploy/tree/main?tab=readme-ov-file#cluster-topology). This step is optional but recommended for production clusters. If the config map is not present Sakkara will default to a single-level hierarchy containing the Nodes of the cluster.
44+
2745
## Red Hat OpenShift AI
2846

2947
Create the Red Hat OpenShift AI subscription:

setup.k8s/CLUSTER-SETUP.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Cluster Setup
22

33
The cluster setup installs and configures the following components:
4-
+ Coscheduler
4+
+ Scheduler Plugins
55
+ Kubeflow Training Operator
66
+ KubeRay
77
+ Kueue
@@ -16,7 +16,14 @@ Create `default-priority`, `high-priority`, and `low-priority` priority classes:
1616
kubectl apply -f setup.k8s/mlbatch-priorities.yaml
1717
```
1818

19-
## Coscheduler
19+
## Scheduler Plugins
20+
21+
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
22+
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
23+
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
24+
as a secondary scheduler for your cluster.
25+
26+
### Coscheduler
2027

2128
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:
2229
```sh
@@ -30,6 +37,17 @@ kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s
3037
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
3138
```
3239

40+
### Sakkara
41+
42+
[Sakkara](https://github.com/atantawi/scheduler-plugins/tree/sakkara) is an experimental
43+
new scheduler plugin with advanced support for topology-aware scheduling.
44+
45+
Install Sakkara as a secondary scheduler:
46+
```sh
47+
helm install sakkara-scheduler --namespace sakkara-scheduler --create-namespace mlbatch/sakkara-scheduler
48+
```
49+
Optionally, create a config map capturing your cluster's topology as described in the [Sakkara documentation](https://github.com/atantawi/sakkara-deploy/tree/main?tab=readme-ov-file#cluster-topology). This step is optional but recommended for production clusters. If the config map is not present Sakkara will default to a single-level hierarchy containing the Nodes of the cluster.
50+
3351
## Install Operators
3452

3553
Create the mlbatch-system namespace

setup.tmpl/CLUSTER-SETUP.md.tmpl

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Cluster Setup
22

33
{{ if .OPENSHIFT -}}
4-
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
4+
The cluster setup installs Red Hat OpenShift AI and Scheduler Plugins, configures Kueue,
55
cluster roles, and priority classes.
66

77
{{- else -}}
88
The cluster setup installs and configures the following components:
9-
+ Coscheduler
9+
+ Scheduler Plugins
1010
+ Kubeflow Training Operator
1111
+ KubeRay
1212
+ Kueue
@@ -23,7 +23,14 @@ Create `default-priority`, `high-priority`, and `low-priority` priority classes:
2323
{{ .KUBECTL }} apply -f setup.{{ .VERSION }}/mlbatch-priorities.yaml
2424
```
2525

26-
## Coscheduler
26+
## Scheduler Plugins
27+
28+
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
29+
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
30+
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
31+
as a secondary scheduler for your cluster.
32+
33+
### Coscheduler
2734

2835
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:
2936
```sh
@@ -37,6 +44,17 @@ Patch Coscheduler pod priorities:
3744
{{ .KUBECTL }} patch deployment -n scheduler-plugins --type=json --patch-file setup.{{ .VERSION }}/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
3845
```
3946

47+
### Sakkara
48+
49+
[Sakkara](https://github.com/atantawi/scheduler-plugins/tree/sakkara) is an experimental
50+
new scheduler plugin with advanced support for topology-aware scheduling.
51+
52+
Install Sakkara as a secondary scheduler:
53+
```sh
54+
helm install sakkara-scheduler --namespace sakkara-scheduler --create-namespace mlbatch/sakkara-scheduler
55+
```
56+
Optionally, create a config map capturing your cluster's topology as described in the [Sakkara documentation](https://github.com/atantawi/sakkara-deploy/tree/main?tab=readme-ov-file#cluster-topology). This step is optional but recommended for production clusters. If the config map is not present Sakkara will default to a single-level hierarchy containing the Nodes of the cluster.
57+
4058
{{ if .OPENSHIFT -}}
4159
## Red Hat OpenShift AI
4260

0 commit comments

Comments
 (0)