Activating DSCI and DataScienceCluster

Installing the Red Hat OpenShift AI (RHOAI) Operator only deploys the controller. To actually build your Models-as-a-Service (MaaS) environment, you must configure two core Custom Resources: DSCInitialization (DSCI) and DataScienceCluster (DSC).

Understanding DSCInitialization (DSCI)

When the RHOAI Operator spins up, it automatically creates a default DSCInitialization resource named default-dsci.

While you rarely need to create this from scratch, understanding its configuration is critical for Day 2 operations. The DSCI controls the foundational, cluster-wide settings for the AI platform.

Key DSCI Configurations

  • Service Mesh Integration: It tells RHOAI which Service Mesh control plane to use (defaulting to data-science-smcp in the istio-system namespace).

  • Monitoring: It defines the namespace used for platform-wide metrics (redhat-ods-monitoring).

  • Trusted CA Bundles: If your company uses a private internal Certificate Authority (CA), you inject it here so that all your model-serving pods inherently trust your corporate network.

Command to inspect your active DSCI:

oc get dsci default-dsci -o yaml

Configuring the DataScienceCluster (DSC)

The DataScienceCluster is the master toggle switch for your AI platform. By default, the operator creates a basic one, but for a true Models-as-a-Service (MaaS) architecture leveraging the advanced operators we installed earlier, we need to apply a highly specific configuration to update the existing cluster state.

The MaaS Configuration Strategy

For a modern MaaS stack in OpenShift AI 3.3, we need to ensure the following components are strictly managed to match our infrastructure:

  • KServe: The core model-serving engine. We set modelsAsService to Managed to activate our Kuadrant integration, and use Headless raw deployment for modern routing without Serverless.

  • Kueue: Set to Unmanaged. Why? Because we manually installed the Red Hat build of Kueue via OLM in the previous section. This tells RHOAI to use our cluster-wide instance instead of deploying a conflicting internal one.

  • Dashboard: The UI for your data scientists.

  • Training Operator: Replaces legacy components for distributed compute execution and natively hooks into the LeaderWorkerSet operator we installed earlier.

Applying the MaaS DataScienceCluster Update

Running this oc apply command will merge these new, production-ready settings into your existing default-dsc resource, activating the new features.

The DataScienceCluster is a cluster-scoped resource. You do not need to switch to a specific namespace (like redhat-ods-operator) to run this command. You can apply it from anywhere in your CLI.

cat <<EOF | oc apply -f -
apiVersion: datasciencecluster.opendatahub.io/v1
kind: DataScienceCluster
metadata:
  name: default-dsc
spec:
  components:
    # 1. Core User Interface
    dashboard:
      managementState: Managed

    # 2. Modern Model Serving (MaaS Core)
    kserve:
      managementState: Managed
      modelsAsService:
        managementState: Managed
      nim:
        managementState: Removed
      rawDeploymentServiceConfig: Headless

    # 3. Model Management & Pipelines
    modelregistry:
      managementState: Managed
      registriesNamespace: rhoai-model-registries
    aipipelines:
      managementState: Managed

    # 4. Distributed Workloads & Training
    kueue:
      defaultClusterQueueName: default
      defaultLocalQueueName: default
      managementState: Removed
    ray:
      managementState: Managed
    trainingoperator:
      managementState: Removed
    llamastackoperator:
      managementState: Managed

    # 5. Data Science Environments
    workbenches:
      managementState: Managed
      workbenchNamespace: rhods-notebooks

    # 6. Additional Integrations
    feastoperator:
      managementState: Removed
    trustyai:
      eval:
        lmeval:
          permitCodeExecution: deny
          permitOnline: deny
      managementState: Removed
    mlflowoperator: {}
    trainer: {}
EOF

Verification

Applying the updated DataScienceCluster triggers the RHOAI operator to orchestrate a rollout across your cluster. It will configure the Service Mesh control plane and spin up the KServe and Kuadrant integrations.

1. Monitor the Rollout

This process can take a few minutes as the operator reconciles the new state. Watch the status of the DataScienceCluster:

oc get datasciencecluster default-dsc -o jsonpath='{.status.phase}{"\n"}'

Wait until the output says Ready.

2. Verify the RHOAI Applications

Check the newly created applications namespace to ensure the core MaaS pods (Dashboard, KServe controller, etc.) are running:

oc get pods -n redhat-ods-applications

3. Access the OpenShift AI Dashboard

Once everything is running, fetch the URL for the RHOAI Dashboard so your data science team can log in:

oc get route rhods-dashboard -n redhat-ods-applications -o jsonpath='{"https://"}{.spec.host}{"\n"}'