Migrating from IBM Wazi for Dev Spaces
If you are migrating from IBM Wazi for Dev Spaces to Red Hat OpenShift Dev Spaces on the same cluster then you must completely deleted the existing Wazi deployment before you can deploy Red Hat's Dev Spaces as the two cannot be co-installed on the same cluster.
- Finish up all work in your workspaces including pushing all commits to your Git servers and backing up all your files in persistent storage such as your Zowe team configuration files if they were stored in your
~/.zowe
folders. - Ensure you have the oc and dsc command line tools installed.
- Query to run before uninstalling: Go the OpenShift UI, select
Observe
in the Side bar and choosemetrics
. Runcount(container_processes{namespace=~'.+-devspaces\\W\\w+', container=~'wazi'})
in the query bar to make sure no one is using cluster (count = 0). Please inform the respective user before proceeding with the uninstall process. To find the total number of active workspaces, just run the above query without the count command and look for namespaces where things are being run. - Login to the OpenShift Cluster using
oc login
and rundsc server:delete --delete-all
to delete all the associated resources the Dev Spaces installation(CR, CRD's etc). Give it a few minutes to complete. - The Wazi License CR has to be manually deleted in the workspace installation namespace. Go into cluster's UI and manually delete WaziLicense CRs and CRD.
- Uninstall the IBM Wazi for Dev Spaces operator(delete subscription), Delete the old catalog source.