Deploying on the OpenShift platform#
Nokia Event-Driven Automation (EDA) can be installed on an existing Red Hat OpenShift cluster in either Internet-connected or air-gapped (disconnected) environments.
Note
OpenShift-based installation is an alternative deployment model to the Talos-based installation covered in the Deploying EDA section.
Supported OpenShift versions: 4.20+
Installation paths#
Depending on the environment, the high-level installation steps are as follows:
-
Install OpenShift
Install OpenShift 4.20+ using the standard OpenShift installation process. -
Add OpenShift Security Context Constraint (SCC)
Apply the SCC resource prior to installing Nokia EDA. The SCC manifest is provided in the nokia-eda/edaadm/openshift/eda-scc.yaml file. -
Deploy Nokia EDA
Deploy Nokia EDA on the OpenShift cluster using the standard Nokia EDA installation process.
-
Prepare the air-gapped EDA assets.
-
Install OpenShift 4.20+ in the air-gapped environment.
-
Configure the air-gapped OpenShift for Nokia EDA installation.
-
Install the Nokia EDA application.
See the Installing Nokia EDA on OpenShift in an air-gapped environment section for more details.
Requirements#
Before you begin, ensure the following requirements are met:
-
The target OpenShift version is supported by Nokia EDA (4.20 or later).
Note
Nokia EDA releases up to and including 26.4 support OpenShift versions up to and including 4.22.
-
You have cluster administrator access to the OpenShift environment.
- The air-gapped environment includes a mirror registry that supports OCI images with nested indices and is reachable by every OpenShift node.
- For air-gapped environments, the OpenShift API and application ingress DNS records are planned and configured prior to ISO generation.
- The Nokia EDA SCC manifest is applied before Nokia EDA packages are installed.
Installing Nokia EDA on OpenShift in an air-gapped environment#
This procedure describes how to install the Nokia EDA application on OpenShift in an air-gapped environment.
-
Prepare the air-gapped EDA assets
The default procedure to install OpenShift in a disconnected scenario uses the internal Quay container registry that does not support OCI images with nested indices1. Therefore, you need to set up a compatible registry2 that supports such images or deploy the EDA Assets Host that provides the required services.
Download the Nokia EDA assets and upload them to the EDA Assets Host or to your existing registry, Git server, and web server.
-
Install OpenShift in the air-gapped environment
Follow the OpenShift in a disconnected environment documentation to install the cluster. -
Configure OpenShift for Nokia EDA installation
The default OpenShift installation uses the internal registry, which does not support OCI images with nested indices. Therefore, you need to create a container registry that supports such images and configure OpenShift image mirrors targeting this registry.For example, if your registry endpoint is
registry.example.com:8443, apply the following image tag mirror manifest to ensure that all required images are pulled from the configured registry.quay-tag-mirror.yamlapiVersion: config.openshift.io/v1 kind: ImageTagMirrorSet metadata: name: eda-tag-mirror spec: imageTagMirrors: - source: quay.io/metallb mirrors: - registry.example.com:8443/metallb mirrorSourcePolicy: NeverContactSource - source: ghcr.io/nokia-eda mirrors: - registry.example.com:8443/nokia-eda mirrorSourcePolicy: NeverContactSource - source: ghcr.io/nokia mirrors: - registry.example.com:8443/nokia mirrorSourcePolicy: NeverContactSourceoc apply -f - <<EOF apiVersion: config.openshift.io/v1 kind: ImageTagMirrorSet metadata: name: eda-tag-mirror spec: imageTagMirrors: - source: quay.io/metallb mirrors: - registry.example.com:8443/metallb mirrorSourcePolicy: NeverContactSource - source: ghcr.io/nokia-eda mirrors: - registry.example.com:8443/nokia-eda mirrorSourcePolicy: NeverContactSource - source: ghcr.io/nokia mirrors: - registry.example.com:8443/nokia mirrorSourcePolicy: NeverContactSource EOFApply the SCC manifest to the OpenShift cluster.
-
Install the Nokia EDA application
Use the procedure described in Installing the EDA application to install Nokia EDA on the Kubernetes cluster running on OpenShift.
-
The Quay registry (v3.12.14) used with OpenShift 4.20 did not support OCI images with nested indices. See https://github.com/quay/quay/pull/3721. ↩
-
For example, Harbor, Artifactory, ghcr.io, AWS ECR, GCR. ↩