Deploying IOMETE on Red Hat OpenShift
IOMETE Data Plane Enterprise is supported on Red Hat OpenShift 4.18 and later. Validated on OpenShift 4.22 with IOMETE Operator 1.0.0.
IOMETE ships as an operator in the OpenShift software catalog. Every IOMETE pod runs under OpenShift's default restricted-v2 security context constraint (SCC) with a user ID that OpenShift assigns, so no additional SCCs are needed.
Supported Versions
IOMETE supports these versions on OpenShift:
| Component | Supported versions |
|---|---|
| Red Hat OpenShift Container Platform | 4.18 and later, validated on 4.22 |
| IOMETE Operator | 1.0.0 and later |
| IOMETE Data Plane Enterprise (Helm installs) | 4.0.3 and later |
Prerequisites
- An OpenShift 4.18 or later cluster, and
oclogged in to it. The IOMETE services request about 14 vCPU and 24 GiB of memory in the data plane project. OpenShift's own workloads, lakehouses, Spark jobs and notebooks need capacity on top of that. - Cluster-admin access.
- A PostgreSQL database and supported object storage, both reachable from the cluster.
Installing with the IOMETE Operator
The operator installs the data plane from a single custom resource, and Operator Lifecycle Manager (OLM) keeps the operator up to date.
-
Install the operator. In the web console, open Ecosystem > Software Catalog (Operators > OperatorHub on OpenShift 4.18 and 4.19) and search for IOMETE Operator. Install it from the
stablechannel with All namespaces on the cluster selected. The operator runs inopenshift-operators. Don't install the 0.0.x versions on thealphachannel.To install from the CLI instead, apply this Subscription:
apiVersion: operators.coreos.com/v1alpha1kind: Subscriptionmetadata:name: iomete-operatornamespace: openshift-operatorsspec:channel: stablename: iomete-operatorsource: certified-operatorssourceNamespace: openshift-marketplaceThe install is done when the operator's ClusterServiceVersion reports
Succeeded. It can take a minute to appear:oc get csv --namespace openshift-operatorsEach operator release bundles a new chart version, so an operator update also upgrades the data plane. For production, set the update approval to Manual (
installPlanApproval: Manualin the Subscription) and approve each update, including the first install, after reading the release notes. -
Create a project and credentials. The data plane reads its database and storage passwords from Secrets in its own project:
oc new-project iomete-systemoc create secret generic iomete-db-credentials --namespace iomete-system \--from-literal=password='<database-user-password>'oc create secret generic iomete-db-admin-credentials --namespace iomete-system \--from-literal=password='<database-admin-password>'oc create secret generic iomete-s3-credentials --namespace iomete-system \--from-literal=secret-key='<storage-secret-key>' -
Create the data plane. The
specof anIometeDataPlaneEnterpriseresource takes the values of theiomete-data-plane-enterpriseHelm chart (Artifact Hub). Operator 1.0.0 bundles chart 4.0.3. Start from this minimal resource:data-plane.yamlapiVersion: charts.iomete.com/v1kind: IometeDataPlaneEnterprisemetadata:name: iometenamespace: iomete-systemspec:name: iomete-data-planeadminUser:username: adminemail: admin@example.comfirstName: AdminlastName: UsertemporaryPassword: "<temporary-password>"database:type: postgresqlhost: <postgresql-host>port: "5432"user: <database-user>passwordSecret:name: iomete-db-credentialskey: passwordprefix: iomete_adminCredentials:user: <database-admin-user>passwordSecret:name: iomete-db-admin-credentialskey: passwordstorage:type: s3_compatiblebucketName: <bucket>s3CompatibleSettings:endpoint: <s3-endpoint-url>accessKey: <storage-access-key>secretKeySecret:name: iomete-s3-credentialskey: secret-keyUse fully qualified hostnames for the database and the storage endpoint, such as
postgresql.iomete-system.svc.cluster.local, and give the endpoint as a URL with its scheme and port, such ashttp://minio.iomete-system.svc.cluster.local:9000. This storage block fits S3-compatible storage (s3_compatible) and Dell ECS (dell_ecs). For AWS S3, Google Cloud Storage or Azure, see thestoragevalues on Artifact Hub. Then apply the resource:oc apply -f data-plane.yaml -
Verify the installation. Check the pods until every one is
RunningorCompleted. A few pods can restart once while the services they depend on start:oc get pods --namespace iomete-system
Once the pods are up, give users access with a Route, as shown in Accessing the Console.
Installing with Helm
Alternatively, install with Helm by following the On-Premises Deployment Guide. Add these Spark versions to your values file:
docker:
defaultSparkVersion: 4.2.1-v1
additionalSparkVersions:
- 3.5.9-v1
Set platform: openshift when you render the chart without cluster access, such as with helm template or Argo CD. Skip the guide's Istio step and expose the console with a Route instead.
Accessing the Console
The chart doesn't expose the console, so create an edge Route to the gateway. The OpenShift router terminates HTTPS and redirects plain HTTP requests to HTTPS:
oc create route edge iomete --service=iom-gateway --port=http --insecure-policy=Redirect --namespace iomete-system
By default, the router ends a request that gets no response within 30 seconds, so longer queries fail with 504 Gateway Timeout. Raise the timeout on the Route above your longest query:
oc annotate route iomete --namespace iomete-system haproxy.router.openshift.io/timeout=1h
On a cloud provider, the load balancer in front of the router has its own idle timeout, so raise that too. On AWS, the Classic Load Balancer closes idle connections after 60 seconds unless you set spec.endpointPublishingStrategy.loadBalancer.providerParameters.aws.classicLoadBalancer.connectionIdleTimeout on the IngressController.
Then print the console URL:
echo "https://$(oc get route iomete --namespace iomete-system --output=jsonpath='{.spec.host}')"
The Route uses the cluster's default ingress certificate, which browsers don't trust unless your administrator replaced it. For your own hostname and certificate, add --hostname, --cert and --key to the oc create route command, plus --ca-cert with the intermediate certificates if your certificate has any, and create a DNS record that points the hostname at the router. If the certificate comes from a private CA, or you enable the MCP server with the default certificate, add the CA as described in Custom Java Truststore. The MCP server also needs services.mcpServer.urls.public set to the Route URL.
This Route serves the console, the REST API and JDBC clients, but not Arrow Flight or Spark Connect clients. To connect those, see Connecting Arrow Flight and Spark Connect Clients.
Connecting Arrow Flight and Spark Connect Clients
Arrow Flight and Spark Connect clients use gRPC, which needs HTTP/2. The OpenShift router offers HTTP/2 only when it's enabled and the Route has its own certificate. The cluster's default ingress certificate never qualifies.
-
Enable HTTP/2 on the router. This applies to every Route that has its own certificate and restarts the router pods, so agree it with your cluster administrator:
oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=true -
Give the Route its own hostname and certificate. Delete the Route you created above, create it again with
--hostname,--certand--key, then set the timeout again:oc delete route iomete --namespace iomete-systemoc create route edge iomete --service=iom-gateway --port=http --insecure-policy=Redirect \--hostname=<iomete.example.com> --cert=<tls.crt> --key=<tls.key> --namespace iomete-systemoc annotate route iomete --namespace iomete-system haproxy.router.openshift.io/timeout=1hDon't use this certificate on any other Route. When two Routes share a certificate, the router turns HTTP/2 off for both, so a wildcard certificate reused across Routes breaks these clients.
-
Connect on port 443. The connection strings the console shows already include it. Clients must trust the certificate's CA. gRPC clients don't read the browser's trust store, so if the CA is private, add it to each client.
Limitations
- Doris compute isn't supported on OpenShift. Leave
features.doris.enabledoff, which is the default. - Lakehouses and Spark jobs use EmptyDir volumes by default on OpenShift, and Host Path volumes are rejected. For large shuffle or spill data, attach an On-Demand PVC volume.
- The MinIO and Apache Ozone installation guides don't run under
restricted-v2. Bring your own PostgreSQL database and object storage.