Uninstalling Runtime 22.2 on Python 3.10 with GPU
A project administrator can uninstall Runtime 22.2 on Python 3.10 with GPU.
- What permissions do you need to complete this task?
- The permissions that you need depend on which tasks you must complete:
- To uninstall Runtime 22.2 on Python 3.10 with
GPU, you must be an administrator of the project where Runtime 22.2 on Python 3.10 with
GPU is installed. This project is identified by the
${PROJECT_CPD_INSTANCE}
environment variable.
- To uninstall Runtime 22.2 on Python 3.10 with
GPU, you must be an administrator of the project where Runtime 22.2 on Python 3.10 with
GPU is installed. This project is identified by the
- When do you need to complete this task?
- Complete this task if you want to remove a running instance of Runtime 22.2 on Python 3.10 with GPU from your environment.
Information you need to complete this task
Review the following information before you uninstall Runtime 22.2 on Python 3.10 with GPU:
- Environment variables
- The commands in this task use environment variables so that you can run the commands exactly as
written.
- If you don't have the script that defines the environment variables, see Setting up installation environment variables.
- To use the environment variables from the script, you must source the environment variables
before you run the commands in this task, for
example:
source ./cpd_vars.sh
- Installation location
- Runtime 22.2 on Python 3.10 with
GPU is installed in the same project (namespace) as the Cloud Pak for Data control
plane. This project is identified by the
${PROJECT_CPD_INSTANCE}
environment variable.
Procedure
Complete the following tasks to uninstall Runtime 22.2 on Python 3.10 with GPU:
Logging in to the cluster
To run cpd-cli
manage
commands, you must log in to the cluster.
To log in to the cluster:
-
Run the
cpd-cli manage login-to-ocp
command to log in to the cluster as a user with sufficient permissions to complete this task. For example:cpd-cli manage login-to-ocp \ --username=${OCP_USERNAME} \ --password=${OCP_PASSWORD} \ --server=${OCP_URL}
Tip: Thelogin-to-ocp
command takes the same input as theoc login
command. Runoc login --help
for details.
Uninstalling the service
- Who needs to complete this task?
- You must be an administrator of the project where Runtime 22.2 on Python 3.10 with GPU is installed.
- When do you need to complete this task?
- Complete this task if you want to remove Runtime 22.2 on Python 3.10 with
GPU from your deployment.
If you installed Runtime 22.2 on Python 3.10 with GPU in multiple projects, you must complete this task for each instance of Runtime 22.2 on Python 3.10 with GPU that you want to uninstall.
To uninstall the service:
- Delete the custom resource for Runtime 22.2 on Python 3.10 with
GPU.
oc delete -n ${PROJECT_CPD_INSTANCE} NotebookRuntime runtime-addon-222-pygpu