From 1decf1a21da2ad4b297f5dad29efe061381950d9 Mon Sep 17 00:00:00 2001 From: David Grove Date: Thu, 19 Dec 2024 16:05:58 -0500 Subject: [PATCH] remove obsolete cleanup instructions; ODH/MCAD are long gone (#120) --- setup.RHOAI-v2.10/CLUSTER-SETUP.md | 15 --------------- setup.RHOAI-v2.13/CLUSTER-SETUP.md | 15 --------------- setup.RHOAI-v2.15/CLUSTER-SETUP.md | 15 --------------- setup.RHOAI-v2.16/CLUSTER-SETUP.md | 15 --------------- setup.k8s-v1.27/CLUSTER-SETUP.md | 15 --------------- setup.k8s-v1.30/CLUSTER-SETUP.md | 15 --------------- setup.tmpl/CLUSTER-SETUP.md.tmpl | 28 ---------------------------- 7 files changed, 118 deletions(-) diff --git a/setup.RHOAI-v2.10/CLUSTER-SETUP.md b/setup.RHOAI-v2.10/CLUSTER-SETUP.md index 63fce15..d928ec7 100644 --- a/setup.RHOAI-v2.10/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.10/CLUSTER-SETUP.md @@ -3,21 +3,6 @@ The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue, cluster roles, and priority classes. -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -oc delete appwrappers --all -A -oc delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -oc delete noderesourcetopologies --all -A -oc delete crd noderesourcetopologies.topology.node.k8s.io -``` - ## Priorities Create `default-priority`, `high-priority`, and `low-priority` priority classes: diff --git a/setup.RHOAI-v2.13/CLUSTER-SETUP.md b/setup.RHOAI-v2.13/CLUSTER-SETUP.md index 0f2fd35..af5820a 100644 --- a/setup.RHOAI-v2.13/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.13/CLUSTER-SETUP.md @@ -3,21 +3,6 @@ The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue, cluster roles, and priority classes. -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -oc delete appwrappers --all -A -oc delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -oc delete noderesourcetopologies --all -A -oc delete crd noderesourcetopologies.topology.node.k8s.io -``` - ## Priorities Create `default-priority`, `high-priority`, and `low-priority` priority classes: diff --git a/setup.RHOAI-v2.15/CLUSTER-SETUP.md b/setup.RHOAI-v2.15/CLUSTER-SETUP.md index 071305e..c52146f 100644 --- a/setup.RHOAI-v2.15/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.15/CLUSTER-SETUP.md @@ -3,21 +3,6 @@ The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue, cluster roles, and priority classes. -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -oc delete appwrappers --all -A -oc delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -oc delete noderesourcetopologies --all -A -oc delete crd noderesourcetopologies.topology.node.k8s.io -``` - ## Priorities Create `default-priority`, `high-priority`, and `low-priority` priority classes: diff --git a/setup.RHOAI-v2.16/CLUSTER-SETUP.md b/setup.RHOAI-v2.16/CLUSTER-SETUP.md index 5dfb109..7fb4c1c 100644 --- a/setup.RHOAI-v2.16/CLUSTER-SETUP.md +++ b/setup.RHOAI-v2.16/CLUSTER-SETUP.md @@ -3,21 +3,6 @@ The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue, cluster roles, and priority classes. -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -oc delete appwrappers --all -A -oc delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -oc delete noderesourcetopologies --all -A -oc delete crd noderesourcetopologies.topology.node.k8s.io -``` - ## Priorities Create `default-priority`, `high-priority`, and `low-priority` priority classes: diff --git a/setup.k8s-v1.27/CLUSTER-SETUP.md b/setup.k8s-v1.27/CLUSTER-SETUP.md index d8e2e49..166ec49 100644 --- a/setup.k8s-v1.27/CLUSTER-SETUP.md +++ b/setup.k8s-v1.27/CLUSTER-SETUP.md @@ -8,21 +8,6 @@ The cluster setup installs and configures the following components: + AppWrappers + Cluster roles and priority classes -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -kubectl delete appwrappers --all -A -kubectl delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -kubectl delete noderesourcetopologies --all -A -kubectl delete crd noderesourcetopologies.topology.node.k8s.io -``` - ## Priorities Create `default-priority`, `high-priority`, and `low-priority` priority classes: diff --git a/setup.k8s-v1.30/CLUSTER-SETUP.md b/setup.k8s-v1.30/CLUSTER-SETUP.md index 742da1d..65e90d5 100644 --- a/setup.k8s-v1.30/CLUSTER-SETUP.md +++ b/setup.k8s-v1.30/CLUSTER-SETUP.md @@ -8,21 +8,6 @@ The cluster setup installs and configures the following components: + AppWrappers + Cluster roles and priority classes -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -kubectl delete appwrappers --all -A -kubectl delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -kubectl delete noderesourcetopologies --all -A -kubectl delete crd noderesourcetopologies.topology.node.k8s.io -``` - ## Priorities Create `default-priority`, `high-priority`, and `low-priority` priority classes: diff --git a/setup.tmpl/CLUSTER-SETUP.md.tmpl b/setup.tmpl/CLUSTER-SETUP.md.tmpl index 7329c32..20df7b8 100644 --- a/setup.tmpl/CLUSTER-SETUP.md.tmpl +++ b/setup.tmpl/CLUSTER-SETUP.md.tmpl @@ -4,20 +4,6 @@ The cluster setup installs Red Hat OpenShift AI and Coscheduler, configures Kueue, cluster roles, and priority classes. -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), Red Hat OpenShift AI, or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -{{ .KUBECTL }} delete appwrappers --all -A -{{ .KUBECTL }} delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -{{ .KUBECTL }} delete noderesourcetopologies --all -A -{{ .KUBECTL }} delete crd noderesourcetopologies.topology.node.k8s.io -``` {{- else -}} The cluster setup installs and configures the following components: + Coscheduler @@ -27,20 +13,6 @@ The cluster setup installs and configures the following components: + AppWrappers + Cluster roles and priority classes -If MLBatch is deployed on a cluster that used to run earlier versions of ODH, -[MCAD](https://github.com/project-codeflare/mcad), or Coscheduler, -make sure to scrub traces of these installations. In particular, make sure to -delete the following custom resource definitions (CRD) if present on the -cluster. Make sure to delete all instances prior to deleting the CRDs: -```sh -# Delete old appwrappers and crd -{{ .KUBECTL }} delete appwrappers --all -A -{{ .KUBECTL }} delete crd appwrappers.workload.codeflare.dev - -# Delete old noderesourcetopologies and crd -{{ .KUBECTL }} delete noderesourcetopologies --all -A -{{ .KUBECTL }} delete crd noderesourcetopologies.topology.node.k8s.io -``` {{- end }} ## Priorities