Skip to content

Commit 8bb8dd4

Browse files
authored
Update minimum supported base platform to OpenShift 4.14 / Kuberenetes 1.27 (#86)
1 parent c6af463 commit 8bb8dd4

27 files changed

+35
-35
lines changed

SETUP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ will be used in the setup process for each team of MLBatch users that
1111
is onboarded.
1212

1313
This setup has been developed on OpenShift 4.14 and Kubernetes 1.27 and
14-
is intended to support OpenShift 4.12 and up and/or Kubernetes 1.25 and up.
14+
is intended to support OpenShift 4.14 and up and/or Kubernetes 1.27 and up.
1515

1616
To start with, recursively clone and enter this repository:
1717
```sh
@@ -50,11 +50,11 @@ Instructions are provided for the following OpenShift AI ***fast*** releases:
5050

5151
## Kubernetes
5252

53-
MLBatch can be installed on any Kubernetes cluster version 1.25 or later
53+
MLBatch can be installed on any Kubernetes cluster version 1.27 or later
5454
by following these instructions:
55-
+ [Kubernetes Cluster Setup](./setup.k8s-v1.25/CLUSTER-SETUP.md)
56-
+ [Kubternets Team Setup](./setup.k8s-v1.25/TEAM-SETUP.md)
57-
+ [Kubernetes Uninstall](setup.k8s-v1.25/UNINSTALL.md)
55+
+ [Kubernetes Cluster Setup](./setup.k8s-v1.27/CLUSTER-SETUP.md)
56+
+ [Kubternets Team Setup](./setup.k8s-v1.27/TEAM-SETUP.md)
57+
+ [Kubernetes Uninstall](setup.k8s-v1.27/UNINSTALL.md)
5858

5959
On Kubernetes version 1.30 and later, an enhanced user experience is
6060
available by using ValidatingAdmissionPolicies to streamline quota

setup.k8s-v1.25/kind/kind-config.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

setup.k8s-v1.25/CLUSTER-SETUP.md renamed to setup.k8s-v1.27/CLUSTER-SETUP.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ kubectl delete crd noderesourcetopologies.topology.node.k8s.io
2727

2828
Create `default-priority`, `high-priority`, and `low-priority` priority classes:
2929
```sh
30-
kubectl apply -f setup.k8s-v1.25/mlbatch-priorities.yaml
30+
kubectl apply -f setup.k8s-v1.27/mlbatch-priorities.yaml
3131
```
3232

3333
## Coscheduler
@@ -40,8 +40,8 @@ helm install scheduler-plugins --namespace scheduler-plugins --create-namespace
4040
```
4141
Patch Coscheduler pod priorities:
4242
```sh
43-
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s-v1.25/coscheduler-priority-patch.yaml scheduler-plugins-controller
44-
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s-v1.25/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
43+
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s-v1.27/coscheduler-priority-patch.yaml scheduler-plugins-controller
44+
kubectl patch deployment -n scheduler-plugins --type=json --patch-file setup.k8s-v1.27/coscheduler-priority-patch.yaml scheduler-plugins-scheduler
4545
```
4646

4747
## Install Operators
@@ -53,22 +53,22 @@ kubectl create namespace mlbatch-system
5353

5454
Install the Kubeflow Training Operator
5555
```sh
56-
kubectl apply --server-side -k setup.k8s-v1.25/training-operator
56+
kubectl apply --server-side -k setup.k8s-v1.27/training-operator
5757
```
5858

5959
Install the KubeRay Operator
6060
```sh
61-
kubectl apply --server-side -k setup.k8s-v1.25/kuberay
61+
kubectl apply --server-side -k setup.k8s-v1.27/kuberay
6262
```
6363

6464
Install Kueue
6565
```sh
66-
kubectl apply --server-side -k setup.k8s-v1.25/kueue
66+
kubectl apply --server-side -k setup.k8s-v1.27/kueue
6767
```
6868

6969
Install the AppWrapper Operator
7070
```sh
71-
kubectl apply --server-side -k setup.k8s-v1.25/appwrapper
71+
kubectl apply --server-side -k setup.k8s-v1.27/appwrapper
7272
```
7373
The provided configuration differs from the default configuration of the
7474
operators as follows:
@@ -90,14 +90,14 @@ operators as follows:
9090

9191
Create Kueue's default flavor:
9292
```sh
93-
kubectl apply -f setup.k8s-v1.25/default-flavor.yaml
93+
kubectl apply -f setup.k8s-v1.27/default-flavor.yaml
9494
```
9595

9696
## Cluster Role
9797

9898
Create `mlbatch-edit` role:
9999
```sh
100-
kubectl apply -f setup.k8s-v1.25/mlbatch-edit-role.yaml
100+
kubectl apply -f setup.k8s-v1.27/mlbatch-edit-role.yaml
101101
```
102102

103103
## Slack Cluster Queue
File renamed without changes.

setup.k8s-v1.25/UNINSTALL.md renamed to setup.k8s-v1.27/UNINSTALL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Then to uninstall the MLBatch controllers and reclaim the corresponding
66
namespaces, do the following:
77
```sh
88
# Delete operators and CRDs
9-
kubectl delete -k setup.k8s-v1.25/appwrapper
10-
kubectl delete -k setup.k8s-v1.25/kueue
11-
kubectl delete -k setup.k8s-v1.25/kuberay
12-
kubectl delete -k setup.k8s-v1.25/training-operator
9+
kubectl delete -k setup.k8s-v1.27/appwrapper
10+
kubectl delete -k setup.k8s-v1.27/kueue
11+
kubectl delete -k setup.k8s-v1.27/kuberay
12+
kubectl delete -k setup.k8s-v1.27/training-operator
1313

1414
# Delete namespace
1515
kubectl delete namespace mlbatch-system

0 commit comments

Comments
 (0)