Skip to content

Commit 1decf1a

Browse files
authored
remove obsolete cleanup instructions; ODH/MCAD are long gone (#120)
1 parent 941f854 commit 1decf1a

File tree

7 files changed

+0
-118
lines changed

7 files changed

+0
-118
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@
33
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

6-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
7-
[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler,
8-
make sure to scrub traces of these installations. In particular, make sure to
9-
delete the following custom resource definitions (CRD) if present on the
10-
cluster. Make sure to delete all instances prior to deleting the CRDs:
11-
```sh
12-
# Delete old appwrappers and crd
13-
oc delete appwrappers --all -A
14-
oc delete crd appwrappers.workload.codeflare.dev
15-
16-
# Delete old noderesourcetopologies and crd
17-
oc delete noderesourcetopologies --all -A
18-
oc delete crd noderesourcetopologies.topology.node.k8s.io
19-
```
20-
216
## Priorities
227

238
Create `default-priority`, `high-priority`, and `low-priority` priority classes:

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@
33
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

6-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
7-
[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler,
8-
make sure to scrub traces of these installations. In particular, make sure to
9-
delete the following custom resource definitions (CRD) if present on the
10-
cluster. Make sure to delete all instances prior to deleting the CRDs:
11-
```sh
12-
# Delete old appwrappers and crd
13-
oc delete appwrappers --all -A
14-
oc delete crd appwrappers.workload.codeflare.dev
15-
16-
# Delete old noderesourcetopologies and crd
17-
oc delete noderesourcetopologies --all -A
18-
oc delete crd noderesourcetopologies.topology.node.k8s.io
19-
```
20-
216
## Priorities
227

238
Create `default-priority`, `high-priority`, and `low-priority` priority classes:

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@
33
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

6-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
7-
[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler,
8-
make sure to scrub traces of these installations. In particular, make sure to
9-
delete the following custom resource definitions (CRD) if present on the
10-
cluster. Make sure to delete all instances prior to deleting the CRDs:
11-
```sh
12-
# Delete old appwrappers and crd
13-
oc delete appwrappers --all -A
14-
oc delete crd appwrappers.workload.codeflare.dev
15-
16-
# Delete old noderesourcetopologies and crd
17-
oc delete noderesourcetopologies --all -A
18-
oc delete crd noderesourcetopologies.topology.node.k8s.io
19-
```
20-
216
## Priorities
227

238
Create `default-priority`, `high-priority`, and `low-priority` priority classes:

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@
33
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
44
cluster roles, and priority classes.
55

6-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
7-
[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler,
8-
make sure to scrub traces of these installations. In particular, make sure to
9-
delete the following custom resource definitions (CRD) if present on the
10-
cluster. Make sure to delete all instances prior to deleting the CRDs:
11-
```sh
12-
# Delete old appwrappers and crd
13-
oc delete appwrappers --all -A
14-
oc delete crd appwrappers.workload.codeflare.dev
15-
16-
# Delete old noderesourcetopologies and crd
17-
oc delete noderesourcetopologies --all -A
18-
oc delete crd noderesourcetopologies.topology.node.k8s.io
19-
```
20-
216
## Priorities
227

238
Create `default-priority`, `high-priority`, and `low-priority` priority classes:

setup.k8s-v1.27/CLUSTER-SETUP.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,6 @@ The cluster setup installs and configures the following components:
88
+ AppWrappers
99
+ Cluster roles and priority classes
1010

11-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
12-
[MCAD](https://github.com/project-codeflare/mcad), or Coscheduler,
13-
make sure to scrub traces of these installations. In particular, make sure to
14-
delete the following custom resource definitions (CRD) if present on the
15-
cluster. Make sure to delete all instances prior to deleting the CRDs:
16-
```sh
17-
# Delete old appwrappers and crd
18-
kubectl delete appwrappers --all -A
19-
kubectl delete crd appwrappers.workload.codeflare.dev
20-
21-
# Delete old noderesourcetopologies and crd
22-
kubectl delete noderesourcetopologies --all -A
23-
kubectl delete crd noderesourcetopologies.topology.node.k8s.io
24-
```
25-
2611
## Priorities
2712

2813
Create `default-priority`, `high-priority`, and `low-priority` priority classes:

setup.k8s-v1.30/CLUSTER-SETUP.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,6 @@ The cluster setup installs and configures the following components:
88
+ AppWrappers
99
+ Cluster roles and priority classes
1010

11-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
12-
[MCAD](https://github.com/project-codeflare/mcad), or Coscheduler,
13-
make sure to scrub traces of these installations. In particular, make sure to
14-
delete the following custom resource definitions (CRD) if present on the
15-
cluster. Make sure to delete all instances prior to deleting the CRDs:
16-
```sh
17-
# Delete old appwrappers and crd
18-
kubectl delete appwrappers --all -A
19-
kubectl delete crd appwrappers.workload.codeflare.dev
20-
21-
# Delete old noderesourcetopologies and crd
22-
kubectl delete noderesourcetopologies --all -A
23-
kubectl delete crd noderesourcetopologies.topology.node.k8s.io
24-
```
25-
2611
## Priorities
2712

2813
Create `default-priority`, `high-priority`, and `low-priority` priority classes:

setup.tmpl/CLUSTER-SETUP.md.tmpl

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@
44
The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue,
55
cluster roles, and priority classes.
66

7-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
8-
[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler,
9-
make sure to scrub traces of these installations. In particular, make sure to
10-
delete the following custom resource definitions (CRD) if present on the
11-
cluster. Make sure to delete all instances prior to deleting the CRDs:
12-
```sh
13-
# Delete old appwrappers and crd
14-
{{ .KUBECTL }} delete appwrappers --all -A
15-
{{ .KUBECTL }} delete crd appwrappers.workload.codeflare.dev
16-
17-
# Delete old noderesourcetopologies and crd
18-
{{ .KUBECTL }} delete noderesourcetopologies --all -A
19-
{{ .KUBECTL }} delete crd noderesourcetopologies.topology.node.k8s.io
20-
```
217
{{- else -}}
228
The cluster setup installs and configures the following components:
239
+ Coscheduler
@@ -27,20 +13,6 @@ The cluster setup installs and configures the following components:
2713
+ AppWrappers
2814
+ Cluster roles and priority classes
2915

30-
If MLBatch is deployed on a cluster that used to run earlier versions of ODH,
31-
[MCAD](https://github.com/project-codeflare/mcad), or Coscheduler,
32-
make sure to scrub traces of these installations. In particular, make sure to
33-
delete the following custom resource definitions (CRD) if present on the
34-
cluster. Make sure to delete all instances prior to deleting the CRDs:
35-
```sh
36-
# Delete old appwrappers and crd
37-
{{ .KUBECTL }} delete appwrappers --all -A
38-
{{ .KUBECTL }} delete crd appwrappers.workload.codeflare.dev
39-
40-
# Delete old noderesourcetopologies and crd
41-
{{ .KUBECTL }} delete noderesourcetopologies --all -A
42-
{{ .KUBECTL }} delete crd noderesourcetopologies.topology.node.k8s.io
43-
```
4416
{{- end }}
4517

4618
## Priorities

0 commit comments

Comments
 (0)