Skip to content

Commit bb2bd5d

Browse files
committed
Limit Sakkara to setup.k8s to avoid replicating mlbatch-subscription
1 parent cc79072 commit bb2bd5d

File tree

8 files changed

+8
-51
lines changed

8 files changed

+8
-51
lines changed

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

Lines changed: 1 addition & 12 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 Scheduler Plugins, configures Kueue,
3+
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

66
## Priorities
@@ -14,8 +14,6 @@ oc apply -f setup.RHOAI-v2.13/mlbatch-priorities.yaml
1414

1515
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
1616
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.
1917

2018
### Coscheduler
2119

@@ -31,16 +29,7 @@ oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2
3129
oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2.13/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
3230
```
3331

34-
### Sakkara
3532

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.
4433

4534
## Red Hat OpenShift AI
4635

setup.RHOAI-v2.13/UNINSTALL.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@ oc delete namespace redhat-ods-applications redhat-ods-monitoring redhat-ods-ope
2020
# Coscheduler uninstall
2121
helm uninstall -n scheduler-plugins scheduler-plugins
2222
oc delete namespace scheduler-plugins
23-
24-
# Sakkara uninstall
25-
helm uninstall -n sakkara-scheduler sakkara-scheduler
26-
oc delete namespace sakkara-scheduler
2723
```

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

Lines changed: 1 addition & 12 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 Scheduler Plugins, configures Kueue,
3+
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

66
## Priorities
@@ -14,8 +14,6 @@ oc apply -f setup.RHOAI-v2.16/mlbatch-priorities.yaml
1414

1515
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
1616
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.
1917

2018
### Coscheduler
2119

@@ -31,16 +29,7 @@ oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2
3129
oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2.16/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
3230
```
3331

34-
### Sakkara
3532

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.
4433

4534
## Red Hat OpenShift AI
4635

setup.RHOAI-v2.16/UNINSTALL.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@ oc delete namespace redhat-ods-applications redhat-ods-monitoring redhat-ods-ope
2020
# Coscheduler uninstall
2121
helm uninstall -n scheduler-plugins scheduler-plugins
2222
oc delete namespace scheduler-plugins
23-
24-
# Sakkara uninstall
25-
helm uninstall -n sakkara-scheduler sakkara-scheduler
26-
oc delete namespace sakkara-scheduler
2723
```

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

Lines changed: 1 addition & 12 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 Scheduler Plugins, configures Kueue,
3+
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

66
## Priorities
@@ -14,8 +14,6 @@ oc apply -f setup.RHOAI-v2.17/mlbatch-priorities.yaml
1414

1515
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
1616
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.
1917

2018
### Coscheduler
2119

@@ -31,16 +29,7 @@ oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2
3129
oc patch deployment -n scheduler-plugins --type=json --patch-file setup.RHOAI-v2.17/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
3230
```
3331

34-
### Sakkara
3532

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.
4433

4534
## Red Hat OpenShift AI
4635

setup.RHOAI-v2.17/UNINSTALL.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@ oc delete namespace redhat-ods-applications redhat-ods-monitoring redhat-ods-ope
2020
# Coscheduler uninstall
2121
helm uninstall -n scheduler-plugins scheduler-plugins
2222
oc delete namespace scheduler-plugins
23-
24-
# Sakkara uninstall
25-
helm uninstall -n sakkara-scheduler sakkara-scheduler
26-
oc delete namespace sakkara-scheduler
2723
```

setup.k8s/CLUSTER-SETUP.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
2222
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
2323
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
2424
as a secondary scheduler for your cluster.
25-
2625
### Coscheduler
2726

2827
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:

setup.tmpl/CLUSTER-SETUP.md.tmpl

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

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

77
{{- else -}}
@@ -27,9 +27,10 @@ Create `default-priority`, `high-priority`, and `low-priority` priority classes:
2727

2828
MLBatch utilizes Kubernetes Scheduler Plugins to ensure gang scheduling of
2929
multi-Pod workloads and to pack `Pods` onto `Nodes` to reduce GPU fragmentation.
30+
{{ if not .OPENSHIFT -}}
3031
Two options are described below: Coscheduler and Sakkara. You should pick and install one of them
3132
as a secondary scheduler for your cluster.
32-
33+
{{- end }}
3334
### Coscheduler
3435

3536
Install Coscheduler v0.28.9 as a secondary scheduler and configure packing:
@@ -44,6 +45,7 @@ Patch Coscheduler pod priorities:
4445
{{ .KUBECTL }} patch deployment -n scheduler-plugins --type=json --patch-file setup.{{ .VERSION }}/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
4546
```
4647

48+
{{ if not .OPENSHIFT -}}
4749
### Sakkara
4850

4951
[Sakkara](https://github.com/atantawi/scheduler-plugins/tree/sakkara) is an experimental
@@ -54,6 +56,7 @@ Install Sakkara as a secondary scheduler:
5456
helm install sakkara-scheduler --namespace sakkara-scheduler --create-namespace mlbatch/sakkara-scheduler
5557
```
5658
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.
59+
{{- end }}
5760

5861
{{ if .OPENSHIFT -}}
5962
## Red Hat OpenShift AI

0 commit comments

Comments
 (0)