Validated Patterns

Deploying the Red Hat OpenShift AI Pattern


The use of this pattern depends on having at least one running Red Hat OpenShift cluster. However, consider creating a cluster for deploying the GitOps management hub assets and a separate cluster for the managed cluster.

If you do not have a running Red Hat OpenShift cluster, you can start one on a public or private cloud by using Red Hat Hybrid Cloud Console.

  1. Fork the openshift-ai repository on GitHub.

  2. Clone the forked copy of this repository.

    git clone
  1. Customize the deployment for your cluster. Run the following command:

    git switch -c my-branch
    vi values-hub.yaml
    git add values-hub.yaml
    git commit values-hub.yaml
    git push origin my-branch
  2. Deploy the pattern by running ./ make install or by using the Validated Patterns Operator.

Deploying the cluster by using the file

To deploy the cluster by using the file, complete the following steps:

  1. Login to your cluster by running the following command:

     oc login

    Optional: Set the KUBECONFIG variable for the kubeconfig file path:

     export KUBECONFIG=~/<path_to_kubeconfig>
  2. Deploy the pattern to your cluster. Run the following command:

     ./ make install

Verify Red Hat OpenShift AI Pattern installation

  1. Verify that the Operators have been installed.

    1. To verify, in the OpenShift Container Platform web console, navigate to Operators → Installed Operators page.

    2. Set your project to All Projects and verify the operators are isntalled and have a status of Succeeded.

  2. Verify that all applications are synchronized. Under the project openshift-ai-hub click the URL for the hub gitops server.

    ArgoCD Applications

    As part of this pattern, HashiCorp Vault has been installed. Refer to the section on Vault.

Verify installation by checking the OpenShift AI Dashboard

  1. Access the OpenShift AI dashboard

    RHODS=https://$(oc get route -n redhat-ods-applications -o jsonpath='{}')
    echo ${RHODS}

You can also get to the dashboard from the OpenShift Console by selecting the application shortcut icon and then selecting the link for Red Hat OpenShift Ai

Application ShortCut

Log in to the Dashboard using your OpenShift credentials. You will find an environment that is ready for further configuration. This pattern provides the fundamental platform pieces to support MLOps workflows. The installation of OpenShift Pipelines enables the immediate use of pipelines if that is the desired approach for deployment.

OpenShift AI Dashboard