Troubleshooting
Problem
If user deletes the project without stopping the runtime, even administrators will not be able to remove the runtime from the UI like following image.
The message "Error: runtime could not be stopped. Please try again later." is shown.

Resolving The Problem
We have to delete deployment, replicase, pod and svc on Kubernetes manually to delete runtime.
- Run the command "kubectl get deployment" on terminal to find some deployment related on runtime you want to delete. For example, the deployment “jupyter-py36-xxxx” is created for Notebook runtime, “jkg- deployment-xxxx” and “spark-worker-xxxx” is created for spark runtime.

If you don't know which deployment should be deleted, you can identify the deployment to delete by checking when the deployment was created. The UI shows the date and time when the runtime was started, so compare it.


- Delete the deployment associated with runtime you want to stop. "jkg-deployment-xxxx" and "spark-worker-xxxx" may have already been deleted. If they haven't been deleted, delete them. If you delete the deployment, the replicaset and pods will be deleted automatically.

- Delete the svc associated with runtime you want to stop. Similarly to the above, if there are svcs called "jkg-deployment-xxxx", "spark-worker-xxxx" and "jupyter-pyxx-xxxx" associated with the runtime you want to stop, delete them as well.

- Refresh the browser.
Document Location
Worldwide
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGWL","label":"IBM Watson Studio Local"},"ARM Category":[{"code":"a8m0z000000bmNbAAI","label":"Admin"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.2.0;and future releases"}]
Was this topic helpful?
Document Information
Modified date:
03 June 2021
UID
ibm16415995