Chapter 5. Stopping basic workbenches


When you have a running workbench, you can stop the workbench to conserve cluster resources or to make configuration changes that require a restart.

You can stop a running workbench from the Red Hat OpenShift AI dashboard.

Prerequisites

  • You have logged in to Red Hat OpenShift AI.
  • You have created a data science project.
  • You have a running workbench that you want to stop.

Procedure

  1. From the OpenShift AI dashboard, click Projects.

    The Projects page opens.

  2. Click the name of the project that contains the workbench you want to stop.

    A project details page opens.

  3. Click the Workbenches tab.
  4. Locate the running workbench you want to stop and click the Stop button in the Status column.

Verification

  • The workbench status changes from Stopping to Stopped.

You can stop a running workbench by using the OpenShift CLI (oc).

Prerequisites

  • You have logged in to Red Hat OpenShift AI.
  • You have created a data science project.
  • You have a running workbench that you want to stop.
  • You have installed the OpenShift CLI (oc).
  • You have write access to the namespace where the workbench is deployed.

Procedure

  1. In a terminal, run the following command to annotate the notebook resource with a stop timestamp:

    $ oc annotate notebook <name> -n <namespace> \
    "kubeflow-resource-stopped=$(date -u +%Y-%m-%dT%H:%M:%SZ)" --overwrite

    where:

    _<name>_
    Specifies the name of the workbench.
    _<namespace>_
    Specifies the name of the project.

Verification

  • Run the following command and verify that the kubeflow-resource-stopped annotation is present:

    $ oc get notebook <name> -n <namespace> -o jsonpath={.metadata.annotations.kubeflow-resource-stopped}
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top