@@ -21,38 +21,41 @@ install-nqrbp   rhods-operator.2.16.0   Manual     true
2121
2222Assuming the install plan exists you can begin the upgrade process.
2323
24- Before approving  the upgrade, you must manually remove v1alpha1 MultiKueue CRD's
24+ As part of  the upgrade, you must manually remove v1alpha1 MultiKueue CRD's
2525from your cluster. These CRDs were replaced by v1beta1 versions in the Kueue 0.9 release,
2626but the RHOAI operator will not automatically remove CRDs.
27- Ensure you have no instances:
28- ``` 
27+ 
28+ First, ensure that you have no instances:
29+ ``` sh 
2930kubectl get multikueueclusters.kueue.x-k8s.io --all-namespaces
3031kubectl get multikueueconfigs.kueue.x-k8s.io --all-namespaces
3132``` 
32- Delete all any instances.  Then delete the CRDs
33- ``` 
34- kubectl delete crd multikueueclusters.kueue.x-k8s.io 
35- kubectl delete crd multikueueconfigs.kueue.x-k8s.io 
36- ``` 
33+ If you do have any instances, delete them before proceeding.
3734
3835Next, update the MLBatch modifications to the default RHOAI configuration maps and subscription.
3936``` sh 
4037oc delete cm mlbatch-kuberay -n redhat-ods-operator
4138oc delete cm mlbatch-codeflare -n redhat-ods-operator
4239oc apply -f setup.RHOAI-v2.19/mlbatch-upgrade-configmaps.yaml
43- oc apply -f setup.RHOAI-v2.19/mlbatch-upgrade-stable -subscription.yaml
40+ oc apply -f setup.RHOAI-v2.19/mlbatch-upgrade-fast -subscription.yaml
4441oc apply -f setup.RHOAI-v2.19/mlbatch-network-policy.yaml
4542``` 
4643
47- Finally , you can approve the install plan replacing the example plan name below
44+ Next , you can approve the install plan replacing the example plan name below
4845with the actual value on your cluster:
4946``` sh 
5047oc patch ip -n redhat-ods-operator --type merge --patch ' {"spec":{"approved":true}}' 
5148``` 
5249
53- After the upgraded operator pod is running in the ` redhat-ods-operator `  namespace, delete the
54- ` kueue-metrics-service `  from the ` redhat-ods-applications `  namespace and let the operator recreate it.
55- This removes port ` 8080 ` , which is no longer used.
50+ After the upgraded operator pod is running in the ` redhat-ods-operator `  namespace,
51+ delete the v1alpha1 MultiKueue CRDs (this will enable the operator to proceed with updating Kueue).
52+ ``` sh 
53+ kubectl delete crd multikueueclusters.kueue.x-k8s.io
54+ kubectl delete crd multikueueconfigs.kueue.x-k8s.io
55+ ``` 
56+ 
57+ Finally, delete the ` kueue-metrics-service `  from the ` redhat-ods-applications `  namespace and
58+ let the operator recreate it. This removes port ` 8080 ` , which is no longer used.
5659``` sh 
5760oc delete service kueue-metrics-service -n redhat-ods-applications
5861``` 
0 commit comments