Skip to main content

software catalog

Docs pulled from project reposUpdated Nov 20, 2026View on GitHub

Deploy on OpenShift

← Docs Index

How to prepare a customer-owned OpenShift cluster with Red Hat OpenShift AI, install every prerequisite from the OperatorHub (Software Catalog) marketplace, and then run the installer on top of it.

On OpenShift the installer does not provision cluster-wide services. You install the operators from the marketplace and create their cluster-level instances. The installer then checks that everything is in place and deploys only application-scoped resources into its own namespaces.


Who owns what

OwnerInstallsExamples
Cluster admin (you), from the marketplaceOperators, plus the cluster-scoped singleton each one needsLVMS + LVMCluster, cert-manager, Service Mesh 3 + Istio/IstioCNI/ZTunnel, CloudNativePG, Red Hat build of Keycloak, NFD + NodeFeatureDiscovery, LWS, Custom Metrics Autoscaler + KedaController, OpenShift AI + DataScienceCluster, Loki, Logging, Tempo, OpenTelemetry and Grafana operators, user-workload monitoring
Installer (es_auto_installer.sh)Resources scoped to the application, in namespaces it creates and labelsCNPG Cluster, Keycloak instance and realm, ServiceMonitor/PodMonitor, LokiStack, ClusterLogForwarder, TempoMonolithic, OpenTelemetryCollector, Grafana, LiteLLM, Langfuse, inference models, eRAG applications

The rule: the installer never installs, upgrades, or deletes an operator, a CRD, or a cluster singleton that it did not create, and never changes the cluster's configuration (for example cluster-monitoring-config). Anything the installer creates carries an ownership label, and teardown removes only labelled objects (planned).


Validated environment

Tested on 2026-10-16 with OpenShift Container Platform 4.22.17 on a single node (RHCOS, CRI-O), with the operator versions in Prerequisites. Multi-node clusters are expected to work if they have a ReadWriteMany StorageClass (ODF CephFS or Trident) and storage_custom_rwx: true (step 1). They have not been validated yet.


Prerequisites

Install each operator from the Software Catalog by following the Red Hat guide linked in the table. For the generic steps (Namespace, OperatorGroup, Subscription, approving the InstallPlan), see Installing Operators in your namespace. The steps below cover only what this stack needs beyond those guides.

To stay on the tested versions, subscribe to the channel in the table with installPlanApproval: Manual, so that OLM upgrades an operator only when you approve it. Other channels have not been tested. Tested is the installed CSV. Catalog default is what the OpenShift 4.22 catalog offered on the test date, when it differs.

#ComponentPackage (catalog)Channel → testedCatalog defaultRed Hat guideRequired
1Default StorageClasslvms-operator (redhat-operators), or ODF / Tridentstable-4.22 → 4.22.0LVM StorageYes
2cert-manageropenshift-cert-manager-operator (redhat-operators)stable-v1 → 1.20.1cert-manager OperatorYes
3Service Mesh 3 (ambient)servicemeshoperator3 (redhat-operators)stable → 3.4.3Ambient modeYes
4Gateway APIbuilt in (Ingress Operator)—Gateway APIYes (nothing to install)
5CloudNativePGcloudnative-pg (certified-operators)stable-v1 → 1.30.1CloudNativePG (certified, not a Red Hat product)Yes
6Red Hat build of Keycloakrhbk-operator (redhat-operators)stable-v26.6 → 26.6.7-opr.1RHBK Operator installationWhen keycloak_enabled: true (the default)
7Custom Metrics Autoscaleropenshift-custom-metrics-autoscaler-operator (redhat-operators)stable → 2.19.0-4Custom Metrics AutoscalerWhen keda_enabled: true (default false)
8Node Feature Discoverynfd (redhat-operators)stable → 4.22.0NFD OperatorYes
9LeaderWorkerSetleader-worker-set (redhat-operators)stable-v1.0 → 1.0.1LeaderWorkerSet OperatorYes (llm-d serving)
10Red Hat Connectivity Linkrhcl-operator (redhat-operators)stable → 1.4.3Install Connectivity LinkYes (OpenShift AI LLMInferenceService)
11OpenShift AIrhods-operator (redhat-operators)stable-3.3 → 3.3.4stable-3.x → 3.5.1 (not tested)Installing OpenShift AIYes
12User-workload monitoringbuilt in (Cluster Monitoring Operator)—Configuring user workload monitoringWhen observability_enabled
13Loki Operatorloki-operator (redhat-operators)stable-6.6 → 6.6.1OpenShift Logging 6.6When observability_enabled
14Red Hat OpenShift Loggingcluster-logging (redhat-operators)stable-6.6 → 6.6.1OpenShift Logging 6.6When observability_enabled
15Tempo Operatortempo-product (redhat-operators)stable → 0.22.0-3Distributed tracing platformWhen observability_enabled
16Red Hat build of OpenTelemetryopentelemetry-product (redhat-operators)stable → 0.158.0Red Hat build of OpenTelemetryWhen observability_enabled
17Grafana Operatorgrafana-operator (community-operators)v5 → 5.25.0Grafana Operator (community, not a Red Hat product)When observability_enabled

Step-by-step

Each step lists only what the stack needs beyond the linked guide. The order does not matter, except that the DataScienceCluster (step 11) needs LeaderWorkerSet and the Kuadrant instance (steps 9 and 10) first. Everything must be in place before you run the installer; its prerequisite check stops with the list of what is not.

1. Storage: default StorageClass

The installer needs a default StorageClass. It never creates, modifies, or demotes StorageClasses on OpenShift. LVM Storage (tested) is ReadWriteOnce only, which is fine on a single node. For multi-node clusters use ODF CephFS or Trident; see NetApp ONTAP and Trident.

The installer cannot tell from a class whether it is ReadWriteMany, so it assumes ReadWriteOnce and stops on a cluster with more than one node. On a multi-node cluster with a ReadWriteMany default class, set storage_custom_rwx: true in global_config.yaml.

bash
oc get storageclass                              # one marked (default)

OpenShift already runs a CSI snapshot controller. Do not install another one.

2. cert-manager

Nothing beyond the guide. The installer creates only namespaced Issuer/Certificate objects and an application ClusterIssuer named with its own prefix (planned).

3. Service Mesh 3 (ambient mode)

Create the Istio, IstioCNI and ZTunnel objects for ambient mode as the guide describes, in istio-system, istio-cni and ztunnel.

bash
oc get istio,istiocni,ztunnel          # all READY / Healthy

OpenShift already runs its own istiod (openshift-gateway-istiod in openshift-ingress) for Gateway API. It is separate from the istio-system control plane. Leave it alone.

4. Gateway API

Built into OpenShift 4.19 and later; the Ingress Operator owns the CRDs. Nothing to install, and do not install the upstream Gateway API CRDs on top.

5. CloudNativePG

Install cloudnative-pg from certified-operators into openshift-operators (all namespaces). It serves the same postgresql.cnpg.io/v1 API the installer uses. The installer creates only its own Cluster in the postgresql namespace.

6. Red Hat build of Keycloak

The operator watches only its own namespace, so install it into keycloak, the namespace where the installer creates the Keycloak instance. Do not create a Keycloak CR: the installer creates the instance, its database, and the realm. Both auth_type modes use Keycloak; preflight skips this check only with keycloak_enabled: false.

7. Custom Metrics Autoscaler

Autoscaling uses KEDA instead of the Prometheus Adapter that the installer deploys on vanilla Kubernetes; on OpenShift the custom.metrics.k8s.io API must not be taken over. With keda_enabled: true, install the operator from the marketplace into openshift-keda (all namespaces): the installer does not install KEDA on OpenShift, and preflight fails without it. The operator creates the KedaController named keda in openshift-keda; if it does not, create it as the guide describes. Its status must reach Installation Succeeded.

8. Node Feature Discovery

Create a NodeFeatureDiscovery instance with the operator's default spec. With nfd_enabled: true (the default) the platform layer's node_feature_discovery component checks that one exists and fails if not; it installs nothing, and teardown leaves the operator and its labels. The model catalog's require_amx: true schedules models only on nodes labelled feature.node.kubernetes.io/cpu-cpuid.AMXBF16, so without NFD every model stays Pending.

9. LeaderWorkerSet

Required by OpenShift AI's llm-d serving path (LLMInferenceService). Create the LeaderWorkerSetOperator named cluster as the guide describes.

OLM installs its dependencies, authorino-operator, dns-operator and limitador-operator, into the same namespace (kuadrant-system in the tested setup); nothing to install for them.

Create the Kuadrant instance before the DataScienceCluster. Without it the DataScienceCluster reports KserveLLMInferenceServiceDependencies=False, and LLMInferenceService, which model-manager uses for every model, cannot be used.

bash
oc get kuadrant -A                     # Ready: Kuadrant is ready

11. OpenShift AI and the DataScienceCluster

Installing the operator is not enough: it creates no DataScienceCluster, so no component, including KServe, runs yet. Create one with KServe managed. The other components are up to you; the stack does not need them. Tested with:

yaml
apiVersion: datasciencecluster.opendatahub.io/v2
kind: DataScienceCluster
metadata:
  name: default-dsc
spec:
  components:
    kserve:
      managementState: Managed
      rawDeploymentServiceConfig: Headless
    dashboard: { managementState: Managed }
    # every other component: Removed
bash
oc get dsc default-dsc -o jsonpath='{.status.phase}{"\n"}'        # Ready
oc get dsc default-dsc -o jsonpath='{.status.conditions[?(@.type=="KserveLLMInferenceServiceDependencies")].status}{"\n"}'   # True (needs step 10)

OpenShift AI owns the KServe CRDs and controller. On OpenShift the installer never deploys upstream KServe: the kserve component only checks that the DataScienceCluster has KServe Managed and ready, then adds the inference Gateway. Its teardown does nothing (planned).

12. User-workload monitoring

OpenShift's own monitoring (Prometheus, Alertmanager, Thanos Querier) covers only metrics. Logs, traces and Grafana need the five operators of steps 13–17 from the marketplace. With observability_enabled: false none of steps 12–17 is needed.

Metrics come from the cluster's own monitoring: the installer creates only ServiceMonitors, and Grafana reads them through Thanos Querier. Switch on user-workload monitoring and keep its data for 30 days, as on Kubernetes (observability_prometheus_retention):

yaml
# openshift-monitoring/cluster-monitoring-config, data.config.yaml
enableUserWorkload: true
yaml
# openshift-user-workload-monitoring/user-workload-monitoring-config, data.config.yaml
prometheus:
  retention: 30d
  volumeClaimTemplate:
    spec:
      resources:
        requests:
          storage: 50Gi
bash
oc get pods -n openshift-user-workload-monitoring    # prometheus-user-workload-* Running

Without enableUserWorkload: true the observability component stops with a message.

13–17. Logs, traces and Grafana

Install the Loki, Logging, Tempo, OpenTelemetry and Grafana operators in all namespaces, each in its own namespace as the guides describe:

OperatorPackageNamespace
Loki Operatorloki-operatoropenshift-operators-redhat
Red Hat OpenShift Loggingcluster-loggingopenshift-logging
Tempo Operatortempo-productopenshift-tempo-operator
Red Hat build of OpenTelemetryopentelemetry-productopenshift-opentelemetry-operator
Grafana Operatorgrafana-operator (community-operators)openshift-operators

Do not create a LokiStack, ClusterLogForwarder, TempoMonolithic, OpenTelemetryCollector or Grafana: the installer creates its own instances in monitoring, and leaves any the cluster already has alone. The Logging console plugin (the Cluster Observability Operator's UIPlugin) is not needed.

bash
oc get csv -A | grep -E 'loki|cluster-logging|tempo|opentelemetry|grafana'   # all Succeeded

Platform detection

Preflight detects the platform before it resolves the components to install. Components that OpenShift does not need (istio, metallb) are skipped there whatever global_config.yaml says. The installer never stamps Pod Security labels on OpenShift, whatever enforce_pss says: the platform syncs them from the SCCs, and the keycloak namespace is the admin's. One default in configs/defaults/global_config.yaml is for Kubernetes. Set it in env/<env>/global_config.yaml of an OpenShift env:

yaml
istio_enabled: false   # true makes roles label their namespaces for ambient mode, which enrolls them in Service Mesh 3

Only a cluster you bring (existing_kubernetes set) is probed. A cluster the installer builds with Kubespray is upstream Kubernetes. Preflight stops if the cluster in existing_kubernetes cannot be reached.

The installer does not install OpenShift: set existing_kubernetes to the cluster's kubeconfig, or preflight stops. As on any BYO cluster, kubernetes leaves the cluster alone. storage uses the cluster's default StorageClass (step 1) or the class in storage_custom_storageclass, whose CSI driver comes from the marketplace.

A cluster is OpenShift when it serves config.openshift.io/v1 and has the ClusterVersion object version. The API group alone is not enough, because OKD and MicroShift serve parts of it as well.

FactValue
cluster_distributionopenshift or kubernetes
cluster_distribution_versionthe OpenShift version (ClusterVersion status.desired.version), or ''
cluster_kubernetes_versionfor example v1.35.8, or '' when the cluster was not probed
cluster_kubernetes_minorthe minor version as an integer ("34+" becomes 34), or 0
cluster_apisthe served API group/versions, or []
cluster_default_storageclassthe StorageClass marked storageclass.kubernetes.io/is-default-class, or ''

Preflight prints the result, for example:

text
Platform: openshift 4.22.17 (Kubernetes v1.35.8, 133 API group/versions)

To skip detection, set cluster_distribution in global_config.yaml to openshift or kubernetes; preflight stops on any other value. cluster_default_storageclass is still read; the other facts fall back to the empty values above. Each role's dispatcher picks its OpenShift task files and values by cluster_distribution, and components.yaml gates components on it; Installer configuration lists what changes.


Installer configuration

Create an environment and point it at the cluster. Use a kubeconfig whose context has cluster-admin.

bash
./es_auto_installer.sh init platform --env ocp     # init inference / init erag for the layers above

There is no OpenShift-specific configuration: the same global_config.yaml works on Kubernetes and OpenShift. In env/ocp/global_config.yaml, set only what describes this cluster:

yaml
existing_kubernetes: "/home/<user>/.kube/config"   # absolute path; skips all Kubespray phases
base_domain_name: "<apps domain>"                  # e.g. erag.apps.<cluster>.<domain>
# http_proxy / https_proxy / no_proxy if needed; no_proxy must cover the API server
auth_provider: keycloak                            # needs step 6; litellm needs no Keycloak

What changes on OpenShift without any setting:

AreaKubernetesOpenShift
istio, metallbinstalledskipped: Service Mesh 3 and the router provide them
seaweedfsinstalled with UID/GID 1000installed without fixed UIDs, so restricted-v2 assigns them
observabilitykube-prometheus-stack, Loki, Tempo, OpenTelemetry Collector and Prometheus Adapter from Helmchecks the operators (steps 13–17) and user-workload monitoring (step 12), then creates their instances in monitoring; see Observability on OpenShift
Storage (storage_backend: local-path)local-path provisionerthe cluster's default StorageClass (step 1), as custom, assumed RWO. Set storage_custom_rwx: true for an RWX class (ODF CephFS, Trident)
cert_managerinstalled from Helmchecks that the cert-manager Operator runs (step 2); teardown does nothing
postgresqlCNPG operator from Helm, then the Clusterchecks the marketplace CNPG operator (step 5), then creates only the Cluster
keycloakupstream operator, then the instancechecks the Red Hat build of Keycloak operator (step 6), then creates only the instance and realm
gateway (Envoy)Envoy as a DaemonSet on the control plane, behind a LoadBalancerEnvoy as a Deployment behind a ClusterIP Service; the OpenShift router forwards each hostname the Gateway serves (the apex host, and each service's host as it publishes) to it through a TLS passthrough Route, so Envoy still terminates TLS. Add hosts published outside the installer with gateway_openshift_extra_route_hosts. Its namespace's service accounts get the nonroot-v2 SCC for the chart's fixed UID. Only the Envoy Gateway CRDs are applied: the Gateway API CRDs belong to the Ingress Operator, which rejects changes to them. The Ingress Operator's CRDs have no ListenerSet (OCP 4.22: v1.4.1), so services share the wildcard listener (shared attach mode)
nri_cpu_balloonsNRI balloonsNRI balloons, with openshift.grant-scc: true; pods of OpenShift AI's LLMInferenceService land in model-balloon-tp1 by their kserve.io/component: workload label

The defaults in configs/defaults/global_config.yaml are for Kubernetes. In env/ocp/global_config.yaml set istio_enabled: false (see Platform detection). With istio_enabled: true, istio is still skipped, but roles label their namespaces for ambient mode, so preflight warns about it. An env seeded with observability_enabled as an expression on cluster_distribution skips observability on OpenShift; set it to true.

Then:

bash
oc whoami && oc get dsc                       # sanity check: right cluster, OpenShift AI ready
./es_auto_installer.sh install platform --env ocp

The inference layer (install inference) is described in the inference layer on OpenShift.

What the installer deploys on OpenShift. Every namespace it creates gets the ownership label (planned). In the platform layer it deploys:

  • the CNPG Cluster and the per-database credentials (postgresql namespace);
  • the Keycloak instance and realm (keycloak namespace);
  • Envoy Gateway, its Gateway and the passthrough Routes, in envoy-gateway-system;
  • SeaweedFS, the object store for logs, traces and Langfuse (monitoring namespace);
  • the observability instances and Grafana (monitoring namespace), below.

Observability on OpenShift

The same Grafana as on Kubernetes, with the same datasource uids (prometheus, loki, tempo), so every dashboard works unchanged. Everything is in the monitoring namespace:

SignalKubernetesOpenShift
Metricskube-prometheus-stack Prometheus, 30 daysuser-workload monitoring (step 12), read through Thanos Querier with the cluster-monitoring-view role
LogsOpenTelemetry Collector DaemonSet → Loki on SeaweedFS, 30 daysClusterLogForwarder platform-logs (application namespaces, OpenTelemetry labels such as k8s_container_name) → LokiStack logging-loki on SeaweedFS, 30 days (observability_loki_retention_hours)
TracesOpenTelemetry Collector → Tempo on SeaweedFSOpenTelemetryCollector opentelemetry (Service opentelemetry-collector, same endpoint) → TempoMonolithic tempo on SeaweedFS, 30 days
Grafanakube-prometheus-stack GrafanaGrafana grafana-platform from the Grafana Operator, published on the gateway like on Kubernetes (grafana.<base domain>, or <base domain>/grafana with routing_mode: path)
DashboardsConfigMaps labelled grafana_dashboard: "1"the same ConfigMaps, plus OpenShift's own Kubernetes, node and networking dashboards from openshift-config-managed, in the OpenShift folder

The admin password is in the grafana-admin-credentials Secret, as on Kubernetes. Settings: observability_openshift_* in roles/observability/defaults/main.yaml (LokiStack size, StorageClass, namespaces to collect logs from).


Prerequisite check

On OpenShift, install and validate check the Prerequisites before the first component runs. They check only what the plan needs:

  • The platform layer needs the default StorageClass, cert-manager, Service Mesh 3, Gateway API, CloudNativePG, NFD, and the Red Hat build of Keycloak unless keycloak_enabled: false.
  • With observability_enabled: true (the default), the platform layer also needs user-workload monitoring and the Loki, Logging, Tempo, OpenTelemetry and Grafana operators.
  • The inference layer adds LeaderWorkerSet, Connectivity Link and OpenShift AI.
WhatPasses when
OpenShiftClusterVersion is at least the tested 4.22
Operatorits Subscription (or OLM v1 ClusterExtension) has an installed CSV that is Succeeded, at least the tested version, and in the required namespace (keycloak for RHBK)
APIsthe cluster serves the operator's group/versions, for example gateway.networking.k8s.io/v1
InstancesIstio/IstioCNI/ZTunnel default Ready, a NodeFeatureDiscovery Available, LeaderWorkerSetOperator cluster Available, a Kuadrant Ready, a DataScienceCluster with phase Ready, KServe Managed and KserveLLMInferenceServiceDependencies=True, and the user-workload Prometheus Available (it exists only with enableUserWorkload: true)
Storageexactly one default StorageClass, or the storage_custom_storageclass exists when storage_backend: custom

Preflight prints one line per requirement, then stops with every requirement that failed, the reason, and the step to follow:

text
  ✗ cert-manager: TOO OLD
      cert-manager-operator.v1.20.0 1.20.0 is older than the tested 1.20.1
      an upgrade to cert-manager-operator.v1.20.1 is waiting: InstallPlan cert-manager-operator/install-kvghn is not approved; approve it: oc patch installplan install-kvghn -n cert-manager-operator --type merge -p '{"spec":{"approved":true}}'
      see docs/deploy/openshift.md#2-cert-manager

With installPlanApproval: Manual, OLM waits for you to approve the first install and every upgrade. When a Subscription waits on an InstallPlan, the message names the plan and the command that approves it. The installer never approves it for you.

A version newer than the tested one and anything the installer identity is not allowed to read are warnings; the run continues. Set openshift_prereq_strict: true to fail on untested newer versions too.

The check only reads. It never installs or changes an operator. There is one exception: if the identity cannot list StorageClasses, preflight creates a 1Mi PVC with no storageClassName in a temporary ai-solutions-preflight namespace.

  • The cluster fills in the default class, which shows that a default exists.
  • Bound or WaitForFirstConsumer shows that the class accepts claims.
  • ProvisioningFailed fails the check.

The namespace is deleted again whatever the result. Set openshift_prereq_storage_probe: false to skip the probe; the storage row is then a warning.

The requirements live in configs/openshift_prerequisites.yaml, one entry per row of the table above. Set openshift_prereq_check: false in global_config.yaml to skip the check (not recommended).


Known gaps

The installer does not support all of the flow above yet. The blocking items stop a successful install today.

AreaTodayNeededBlocking
Teardown safetyTeardown roles delete CRDs by API group or regex (kserve, envoy_gateway, observability, cert_manager, istio, metallb, keycloak) and whole namespacesAn ownership label on everything the installer creates; teardown deletes only labelled objects and never CRDs it did not createYes: do not run teardown
SCCCharts set fixed runAsUser/fsGroup; namespaces get only Pod Security labels, which do not grant an SCC on OpenShiftLeave UID/GID unset on OpenShift so restricted-v2 assigns them; grant a dedicated SCC only where a component really needs oneYes
Autoscalingapp_hpa (Prometheus Adapter) and the eRAG HPAs are skipped on OpenShiftHPAs on the Custom Metrics Autoscaler (KEDA) and user-workload monitoringNo
CPU pinning (NRI balloons) and tensor parallelismOpenShift AI cannot annotate the pods of an LLMInferenceService, so every model pod (kserve.io/component=workload) lands in the model-balloon-tp1 balloon and gets the CPUs of one NUMA node. Only TP=1 models are supportedPick the balloon by the model's TP sizeNo (TP>1 models run with too few CPUs)
NRI plugin syncIf a CRI-O sync with the NRI plugin fails (failed to synchronize plugin in the CRI-O journal), the plugin gets no container events and new pods run unpinned. The installer restarts the plugin after it applies the node policy, which is when this happens; after a policy change of your own, restart it by hand: oc delete pod -n kube-system -l app.kubernetes.io/name=nri-resource-policy-balloonsDetect a failed sync and restart the pluginNo