Search

Chapter 5. Installing the Red Hat OpenShift Data Science Operator

download PDF

This section shows how to install the Red Hat OpenShift Data Science Operator on your OpenShift Container Platform cluster using the command-line interface (CLI) and the OpenShift web console.

Note

If you want to upgrade from version 1 of OpenShift Data Science rather than performing a new installation, see Upgrading from version 1 of OpenShift Data Science.

Note

If your OpenShift cluster uses a proxy to access the Internet, you can configure the proxy settings for the Red Hat OpenShift Data Science Operator. See Overriding proxy settings of an Operator for more information.

5.1. Installing the Red Hat OpenShift Data Science Operator by using the CLI

The following procedure shows how to use the OpenShift command-line interface (CLI) to install the Red Hat OpenShift Data Science Operator on your OpenShift Container Platform cluster. You must install the Operator before you can install OpenShift Data Science components on the cluster.

Prerequisites

  • You have a running OpenShift Container Platform cluster, version 4.11 or greater, configured with a default storage class that can be dynamically provisioned.
  • You have cluster administrator privileges for your OpenShift Container Platform cluster.
  • You have downloaded and installed the OpenShift command-line interface (CLI). See Installing the OpenShift CLI.

Procedure

  1. Open a new terminal window.
  2. In the OpenShift command-line interface (CLI), log in to your OpenShift Container Platform cluster as a cluster administrator, as shown in the following example:

    $ oc login <openshift_cluster_url> -u <admin_username> -p <password>
  3. Create a namespace for installation of the Operator by performing the following actions:

    1. Create a namespace YAML file, for example, rhods-operator-namespace.yaml.

      apiVersion: v1
      kind: Namespace
      metadata:
        name: redhat-ods-operator 1
      1
      redhat-ods-operator is the recommended namespace for the Operator.
    2. Create the namespace in your OpenShift Container Platform cluster.

      $ oc create -f rhods-operator-namespace.yaml

      You see output similar to the following:

      namespace/redhat-ods-operator created
  4. Create an operator group for installation of the Operator by performing the following actions:

    1. Create an OperatorGroup object custom resource (CR) file, for example, rhods-operator-group.yaml.

      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: rhods-operator
        namespace: redhat-ods-operator 1
      1
      You must specify the same namespace that you created earlier in this procedure.
    2. Create the OperatorGroup object in your OpenShift Container Platform cluster.

      $ oc create -f rhods-operator-group.yaml

      You see output similar to the following:

      operatorgroup.operators.coreos.com/rhods-operator created
  5. Create a subscription for installation of the Operator by performing the following actions:

    1. Create a Subscription object CR file, for example, rhods-operator-subscription.yaml.

      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: rhods-operator
        namespace: redhat-ods-operator 1
      spec:
        name: rhods-operator
        channel: stable 2
        source: redhat-operators
        sourceNamespace: openshift-marketplace
      1
      You must specify the same namespace that you created earlier in this procedure.
      2
      For channel, select a value of stable, embedded, or alpha. These subscription channels are described as follows:
      stable
      In the stable channel, Red Hat provides updates for the Operator approximately every three weeks. The stable channel is intended for production use and provides functionally complete, generally available features (in addition to early-access features where noted in the documentation) that are supported with Red Hat production service level agreements (SLAs).
      embedded
      The embedded channel provides updates for products that integrate Red Hat OpenShift Data Science. This includes IBM watsonx.ai. If this specific use case does not apply to your organization, choose stable. The embdedded channel is intended for production use and provides functionally complete, generally available features (in addition to early-access features where noted in the documentation) that are supported with Red Hat production service level agreements (SLAs).
      alpha
      The alpha channel is intended for development use only. The channel provides development builds and early-access features.
      Note

      The development builds and early-access features that the alpha channel provides are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. Early-access features enable customers to test functionality and provide feedback during the development process. For production environments, choose embedded or stable, based on the preceding descriptions.

      For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. For more information about the support scope of Red Hat Developer Preview features, see Developer Preview Features Support Scope.

      Note

      The beta channel is a legacy channel that will be removed in a future release. Do not select the beta channel for a new installation of the Operator.

      For more information about the lifecycle associated with each of the available subscription channels, see Red Hat OpenShift Data Science self-managed Life Cycle.

    2. As described in the preceding step, ensure that the subscription channel you specify is appropriate for your organization’s requirements.
    3. Create the Subscription object in your OpenShift Container Platform cluster to install the Operator.

      $ oc create -f rhods-operator-subscription.yaml

      You see output similar to the following:

      subscription.operators.coreos.com/rhods-operator created

Verification

  • In the OpenShift Container Platform web console, click Operators Installed Operators and confirm that the Red Hat OpenShift Data Science Operator shows one of the following statuses:

    • Installing - installation is in progress; wait for this to change to Succeeded. This might take several minutes.
    • Succeeded - installation is successful.
  • In the web console, click Home Projects and confirm that the following project namespaces are visible and listed as Active:

    • redhat-ods-applications
    • redhat-ods-monitoring
    • redhat-ods-operator

5.2. Installing the Red Hat OpenShift Data Science Operator by using the web console

The following procedure shows how to use the OpenShift Container Platform web console to install the Red Hat OpenShift Data Science Operator on your cluster. You must install the Operator before you can install OpenShift Data Science components on the cluster.

Prerequisites

  • You have a running OpenShift Container Platform cluster, version 4.11 or greater, configured with a default storage class that can be dynamically provisioned.
  • You have cluster administrator privileges for your OpenShift Container Platform cluster.

Procedure

  1. Log in to the OpenShift Container Platform web console as a cluster administrator.
  2. In the web console, click Operators OperatorHub.
  3. On the OperatorHub page, locate the Red Hat OpenShift Data Science Operator.

    1. Scroll through available Operators or type Red Hat OpenShift Data Science into the Filter by keyword box to find the Red Hat OpenShift Data Science Operator.
  4. Select the Operator to display additional information.
  5. Read the information about the Operator and click Install.
  6. For Update channel, select stable, embedded, or alpha. These subscription channels are described as follows:

    stable
    In the stable channel, Red Hat provides updates for the Operator approximately every three weeks. The stable channel is intended for production use and provides functionally complete, generally available features (in addition to early-access features where noted in the documentation) that are supported with Red Hat production service level agreements (SLAs).
    embedded
    The embedded channel provides updates for products that integrate Red Hat OpenShift Data Science. This includes IBM watsonx.ai. If this specific use case does not apply to your organization, choose stable. The embdedded channel is intended for production use and provides functionally complete, generally available features (in addition to early-access features where noted in the documentation) that are supported with Red Hat production service level agreements (SLAs).
    alpha
    The alpha channel is intended for development use only. The channel provides development builds and early-access features.
    Note

    The development builds and early-access features that the alpha channel provides are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. Early-access features enable customers to test functionality and provide feedback during the development process. For production environments, choose embedded or stable, based on the preceding descriptions.

    For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. For more information about the support scope of Red Hat Developer Preview features, see Developer Preview Features Support Scope.

    Note

    The beta channel is a legacy channel that will be removed in a future release. Do not select the beta channel for a new installation of the Operator.

    For more information about the lifecycle associated with each of the available subscription channels, see Red Hat OpenShift Data Science self-managed Life Cycle.

  7. For Installation mode, observe that the only available value is All namespaces on the cluster (default). This installation mode makes the Operator available to all namespaces in the cluster.
  8. For Installed Namespace, select redhat-ods-operator (Operator recommended).
  9. Under Update approval, select either Automatic or Manual.
  10. Click Install.

    An installation pane opens. When the installation finishes, a check mark appears beside the Operator name in the installation pane.

Verification

  • In the OpenShift Container Platform web console, click Operators Installed Operators and confirm that the Red Hat OpenShift Data Science Operator shows one of the following statuses:

    • Installing - installation is in progress; wait for this to change to Succeeded. This might take several minutes.
    • Succeeded - installation is successful.
  • In the web console, click Home Projects and confirm that the following project namespaces are visible and listed as Active:

    • redhat-ods-applications
    • redhat-ods-monitoring
    • redhat-ods-operator
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

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

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

© 2024 Red Hat, Inc.