Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

Guide: Setting Up a Restricted-Access OpenShift Cluster for SAP Edge Lifecycle Management (ELM) with Service Mesh 3.x

Updated on

Request a new translation or translation update

A translation for your language preference does not exist. Click below to request a translation for your selected language.

Submit request

Part of: SAP Edge Integration Cell on Red Hat OpenShift

Table of Contents

Overview

This guide provides step-by-step instructions for onboarding a shared Red Hat OpenShift cluster into SAP Edge Lifecycle Management (ELM) using a restricted-privilege model. Instead of requiring full cluster-admin rights, ELM will use a dedicated Service Account with a precise, limited set of permissions. The official source of truth for this process is SAP Note 3618713, and this guide serves as an extension of the information provided therein.

Intended Audience: This document is for anyone responsible for preparing the cluster environment — typically a Red Hat OpenShift Cluster Administrator, or any user with sufficient privileges to install operators and create the required namespaces, RBAC, and service accounts. Administrator involvement is required for initial setup and whenever ELM requires updated restricted resources during an upgrade; routine ELM operations use the restricted service account.

Support Scope

This guide covers the Red Hat OpenShift configuration for the Restricted Access to Kubernetes Cluster onboarding method. SAP's documentation is authoritative for the supported SAP product versions, Kubernetes platforms and versions, and deployment topologies. Check these SAP sources for the releases you deploy:

  • SAP Note 3618713: prerequisites for the Restricted Access option, including the supported Kubernetes providers and the service mesh requirement (Service Mesh 3.x for OpenShift).
  • SAP Note 3391207: EIC versions that support the Restricted Access option.
  • ELM Administration Guide: the "Supported Kubernetes Versions and Providers" table lists the OpenShift Kubernetes versions supported by each ELM release, and "Multiple Edge Nodes on a Single Kubernetes Cluster" describes co-located Edge Nodes.
  • Plan Your Setup of Edge Integration Cell: onboarding methods and the number of EIC instances per cluster.

For OpenShift itself, also follow the Red Hat OpenShift Container Platform life cycle policy.

Deployment Topologies and Namespace Names

Multiple EIC instances on one cluster require the Restricted Access to Kubernetes Cluster onboarding method. Other onboarding methods allow only one EIC instance per cluster, as documented in SAP's Plan Your Setup of Edge Integration Cell.

Each Edge Node has its own ELM installation and can run one or more EIC instances. A cluster can host one Edge Node or several, and each Edge Node is set up the same way. All Edge Nodes and EIC instances on the cluster share one Istio control plane that serves only SAP workloads. The Service Mesh Operator and Istio CNI are installed once per cluster. Multiple Edge Nodes on one cluster require ELM 1.64 and EIC 8.48, or later compatible versions; confirm the supported combination in the SAP sources.

For topology selection, release prerequisites, namespace planning, deployment order, and maintenance scope, see Deploying Multiple SAP Edge Integration Cell Instances on One OpenShift Cluster. This guide provides the resource application and OpenShift configuration procedures used by both models.

The commands and component table below use default SAP namespace names for one deployment, and the SAP-only mesh values from Plan the Mesh Values. Component namespaces are configurable in the Edge Lifecycle Management (ELM) user interface, and the downloadable resource bundles are generated with those configured names. For custom namespaces, use the names from the bundle in every command, including service account and kubeconfig generation, SCC annotations, mesh labels, and gateway Routes. Substitute the mesh values planned for the Edge Node in the same way.

Prerequisites

Before beginning this setup, ensure you have completed the following requirements:

Required Access and Credentials

  • Cluster-admin privileges, or delegated permissions covering every resource in the downloaded bundle and the namespace configuration commands, on the target OpenShift cluster. These are needed for initial setup and for resource updates requested by ELM during upgrades.
  • Access to SAP Note 3618713 (requires SAP S-user credentials)
  • Authenticated oc CLI session to your OpenShift cluster

Software Requirements

  • Red Hat OpenShift Container Platform at a version supported by the ELM release in use; see the SAP sources in Support Scope
  • OpenShift CLI (oc) version matching your cluster
  • Bash 3.2+ to run the bundled apply script
  • kubectl on your PATH — required by the bundled apply-restricted-resources.sh script used to apply downloaded resources. The script invokes kubectl by name and does not fall back to oc. The OpenShift CLI archive includes a supported kubectl binary alongside oc, and the RPM installs both.
  • The same administrator kubeconfig and target context for kubectl and oc — the script uses the active kubectl context; the cluster name printed by the script does not select or verify that context.
  • Red Hat OpenShift Service Mesh 3.x Operators installed, as SAP Note 3618713 specifies for OpenShift:
    • Red Hat OpenShift Service Mesh 3.x (required)
    • Kiali Operator (optional - for service mesh visualization)
    • Red Hat OpenShift distributed tracing platform (optional - for distributed tracing)

Downloaded Resources

Download the Kubernetes resources from the ELM UI for the current Edge Node and deployment or upgrade operation. Use the instructions and apply script supplied with that download; the bundle contents can change between operations and releases. See Resource Bundle Scope and Apply Script.

If the EIC deployment uses High Availability with the Message Service Pod Initializer, also download resources.zip from SAP Note 3618713. It contains webhook-pod-initializer.yaml; see Optional: Message Service Pod Initializer Webhook.

Process Overview

The setup process consists of three main stages:

  1. Install Operators: Install the Red Hat OpenShift Service Mesh 3.x Operators. This is done once per cluster.
  2. Configure Service Mesh 3.x: Create the cluster-wide Istio CNI and the Istio control plane for the SAP workloads. This is done once per cluster.
  3. Register the Cluster in ELM: Download resources from the ELM UI to create namespaces and RBAC permissions, assign the namespaces to the SAP mesh, generate the Kubeconfig, and register the cluster as an Edge Node.

To add an Edge Node to a cluster that already hosts one, see Adding Another Edge Node to the Cluster.

Step 1: Install Service Mesh 3.x Operators

Before configuring any components, you must install the necessary operators. The operators are installed once per cluster and shared by all Edge Nodes.

Installation Method:

  1. Log in to the OpenShift web console.
  2. Navigate to Operators → OperatorHub.
  3. Search for Red Hat OpenShift Service Mesh.
  4. Select the Service Mesh 3.x version.
  5. Click Install and follow the prompts to complete the installation.

Verify Installation:

Run the following command to confirm the operators are installed:

# Verify the required Service Mesh 3.x operator is installed
# Adjust the grep pattern if your operator name differs
oc get csv -n openshift-operators | grep -E "servicemeshoperator3|Service Mesh 3"

Step 2: Configure OpenShift Service Mesh 3.x

The SAP Note requires a service mesh to be present. This guide provides a specific, tested configuration for Red Hat OpenShift Service Mesh version 3.x. The architecture and configuration approach has changed significantly from Service Mesh 2.x.

This step creates the Istio control plane for the SAP workloads. It discovers only the namespaces assigned to it. All Edge Nodes and EIC instances on the cluster use this control plane. The Istio CNI is cluster-wide: create it once per cluster.

Note: The configurations provided below are general guidance for a standard Service Mesh 3.x deployment. If you need to make customized changes to the service mesh configuration, please refer to the official Red Hat OpenShift Service Mesh 3.x documentation for detailed customization options.

Plan the Mesh Values

Choose the configuration that matches the cluster, and record its values for later resource applications. Every Edge Node and EIC instance on the cluster uses the same values.

Setting SAP-only mesh Cluster with other service meshes
Control plane namespace istio-system istio-system-sap-edge
Istio resource name default sap-mesh-istio
Discovery value (discoverySelectors and istio-discovery namespace label) enabled sap-edge-mesh
Sidecar injection label on workload namespaces istio-injection=enabled, as set by the SAP bundles istio.io/rev=sap-mesh-istio, with istio-injection removed
  • SAP-only mesh: Use this when the SAP Edge Nodes are the only users of OpenShift Service Mesh on the cluster. The control plane named default injects sidecars into namespaces labeled istio-injection=enabled, the label that SAP's resource bundles set on their namespaces. The commands in this guide use these values.
  • Cluster with other service meshes: Use this when the cluster also runs other applications that use Istio, or a control plane named default already exists. See Clusters with Other Service Meshes for the changes to the commands.

If other teams are likely to use Service Mesh on the cluster later, start with the second configuration: switching later means relabeling every SAP workload namespace and restarting its pods. If the cluster already runs Istio, check the existing control planes first.

Create the Istio Control Plane

# --- Command 1: Create the CNI namespace (once per cluster) ---
# Skip Commands 1 and 2 if 'oc get istiocni' already lists an IstioCNI resource
oc new-project istio-cni

# --- Command 2: Create the cluster-wide IstioCNI resource (once per cluster) ---
oc apply -f - <<EOF
apiVersion: sailoperator.io/v1
kind: IstioCNI
metadata:
  name: default
spec:
  namespace: istio-cni
EOF

# --- Command 3: Create the control plane namespace ---
oc new-project istio-system

Command 4: Create the Istio Control Plane

Choose the appropriate configuration based on your environment:

Standard Configuration (Direct Internet Access):

Use this configuration if your cluster has direct internet access without requiring a corporate proxy.

# --- Command 4a: Create the Istio control plane (standard) ---
oc apply -f - <<EOF
apiVersion: sailoperator.io/v1
kind: Istio
metadata:
  name: default
spec:
  namespace: istio-system
  values:
    meshConfig:
      discoverySelectors:
        - matchLabels:
            istio-discovery: enabled
EOF

Corporate Proxy Configuration (HTTP Proxy Required):

Use this configuration if your environment requires a corporate proxy for external connectivity (e.g., to reach SAP BTP, XSUAA, or other external services). This configuration enables DNS capture, which is required for proper proxy traffic routing through the Istio sidecar. Also create the Corporate Proxy ServiceEntry in the control plane namespace.

# --- Command 4b: Create the Istio control plane (with corporate proxy support) ---
oc apply -f - <<EOF
apiVersion: sailoperator.io/v1
kind: Istio
metadata:
  name: default
spec:
  namespace: istio-system
  values:
    meshConfig:
      discoverySelectors:
        - matchLabels:
            istio-discovery: enabled
      defaultConfig:
        proxyMetadata:
          ISTIO_META_DNS_CAPTURE: "true"
          ISTIO_META_DNS_AUTO_ALLOCATE: "true"
EOF

Why is DNS capture needed for corporate proxy? When SAP EIC applications connect to external services through a corporate proxy using HTTP CONNECT tunneling, the Istio sidecar (Envoy) must properly intercept DNS queries to route traffic correctly. Without DNS capture enabled, you may encounter ECONNRESET errors or 404 route_not_found responses.

Command 5: Label the Control Plane Namespace

# --- Command 5: Label the control plane namespace for discovery ---
oc label namespace istio-system istio-discovery=enabled --overwrite

Wait for the Control Plane

The Service Mesh 3.x control plane takes 5-10 minutes to deploy and become ready. You must wait for it to be ready before proceeding to Step 3.

# Wait for the Istio control plane to be ready (may take 5-10 minutes)
oc wait --for=condition=Ready istio/default --timeout=600s

# Verify all components are running
oc get pods -n istio-system
oc get pods -n istio-cni

Expected output: All pods should show Running or Completed status. This guide uses the default InPlace update strategy: a mesh upgrade updates the control plane in place, and the namespace labels stay the same.

Corporate Proxy ServiceEntry

When using a corporate proxy, you must also create a ServiceEntry so that the Istio sidecar permits outbound TCP connections to the proxy. Replace the placeholders with your proxy's hostname, IP address(es), and port.

Note: Create the ServiceEntry in the control plane namespace (istio-system), which Command 5 labeled for discovery. One ServiceEntry there serves every Edge Node on the cluster, and removing an Edge Node does not remove it.

oc apply -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: allow-http-proxy
  namespace: istio-system
spec:
  hosts:
    - <proxy-hostname>
  addresses:
    - <proxy-IP>
  ports:
    - number: <proxy-port>
      name: tcp-proxy-tunnel
      protocol: TCP
  location: MESH_EXTERNAL
  resolution: NONE
EOF

CRITICAL: List every IP the proxy hostname resolves to. With resolution: NONE, the Istio sidecar (Envoy) only permits outbound connections to the IP addresses explicitly declared under addresses. It does not re-resolve the hostname at connection time. If the proxy hostname is backed by more than one IP (common for load-balanced or highly-available proxies), any IP missing from this list has no route and the connection is silently dropped, surfacing as i/o timeout.

Because DNS returns the backing IPs in round-robin order, a missing IP causes intermittent failures — connections succeed whenever DNS hands back a listed IP and time out whenever it returns an unlisted one. The corporate proxy logs will show only the successful attempts, because the failing ones time out before ever reaching the proxy.

Discover all proxy IPs. From a cluster node or any host on the same network, resolve the hostname and add all returned IPs to the addresses list above:

# List every IP the proxy hostname resolves to
dig +short <proxy-hostname>

Validate a suspect IP before adding it. If a specific IP times out, confirm it is a live proxy backend (and not a stale DNS record) by sending the same request through it directly — first bypassing the sidecar from a node, then from inside a sidecar-injected pod:

# From an OpenShift node (bypasses the Istio sidecar)
curl -x http://<proxy-IP>:<proxy-port> -I https://<sap-btp-endpoint>

# From a sidecar-injected pod in edgelm
oc exec -n edgelm <pod> -c <app-container> -- \
  curl -x http://<proxy-IP>:<proxy-port> -I https://<sap-btp-endpoint>
  • Works from the node but not from the pod → the IP is a valid backend; add it to the ServiceEntry addresses list and re-apply.
  • Fails from both → the IP is a dead or misconfigured proxy backend. Ask your proxy/networking team to fix routing to it or remove it from the proxy hostname's DNS pool. Do not add an unreachable IP to the ServiceEntry.

Step 3: Register the Cluster in ELM

This step uses the ELM UI to download Kubernetes resources (namespaces, CRDs, RBAC), apply them to the cluster, generate a Kubeconfig, and complete the Edge Node registration.

The resource handling is split into two phases:

  1. Initialize Edge Node — Apply the ELM resources, generate the Kubeconfig, and upload it to complete registration.
  2. Component Deployment — Apply the resources requested by ELM, which may also cover dependent components. See Component Resource Downloads below.

Resource Bundle Scope and Apply Script

The archive generated by ELM determines which resources must be applied. It may include cluster-scoped resources and resources for dependent components. Inspect the actual download to identify the affected namespaces and the permissions needed to apply it.

Extract each download into a separate directory and keep its script and all manifests together. Use the bundle generated for the current Edge Node and operation; do not mix files from different downloads. Run the apply script with administrator credentials or sufficient delegated permissions, rather than the restricted runtime edgelm kubeconfig.

What the Script Checks and Applies

Use apply-restricted-resources.sh when supplied, and check its --help output for the options supported by that download. The commands in this guide use:

Invocation Behavior
./apply-restricted-resources.sh --check Runs the script's preflight checks without applying resources; it is not a complete manifest or permissions validation.
./apply-restricted-resources.sh Runs the checks, prompts for confirmation, and applies the bundle.
./apply-restricted-resources.sh --yes Skips confirmation prompts, including any legacy namespace adoption prompt. Use only after reviewing the target and ownership.

If the script fails, resolve the error before continuing in ELM; resources applied before the failure may remain. Do not replace the supplied script with a directory-wide oc apply that bypasses its checks. If the download has no apply script, follow the accompanying SAP instructions.

If the Script Reports kubectl is not on PATH

The script exits with ERROR: kubectl is not on PATH when kubectl is not installed, and the kubectl commands in this guide fail with command not found. The OpenShift CLI archive and RPM include a supported kubectl; installing it from there is the simplest fix.

If only the oc binary is available, make it available under the name kubectl. When invoked as kubectl, the oc binary runs its built-in kubectl. A shell alias is not sufficient: the apply script runs in a separate, non-interactive shell that does not inherit aliases.

# Expose oc as kubectl for the current shell session
mkdir -p "$HOME/.oc-kubectl-shim"
ln -sf "$(command -v oc)" "$HOME/.oc-kubectl-shim/kubectl"
export PATH="$HOME/.oc-kubectl-shim:$PATH"

# Should print a Client Version
kubectl version --client

Run the apply script from the same shell session. The PATH change lasts only for that session; repeat the export command in each new session before running an apply script. Do not use this shim when kubectl is already installed.

Review Ownership Across the Full Bundle

Before applying, verify the target cluster, Edge Node, operation, and ownership of all affected namespaces, including dependencies. The script's ownership checks can cover fewer namespaces than its manifests; a successful --check does not establish ownership of namespaces outside those checks. Resolve conflicts or uncertain ownership with SAP before proceeding. Do not pre-create empty application namespaces or change ownership labels to bypass validation. Confirm legacy adoption only for namespaces belonging to the registration being upgraded.

Critical: Verify OpenShift Settings After Each Resource Apply

IMPORTANT

After the bundle succeeds, apply and verify the SCC annotations required by this guide and assign the affected namespaces to the SAP mesh, including dependent components. Preserve SAP ownership metadata. Complete this OpenShift configuration before continuing deployment in ELM.

After you initiate an upgrade in ELM, the operation changes to Prepared if updated Kubernetes resources are required. The upgrade then pauses while you download and apply those resources. After applying them, repeat the SCC annotation and mesh assignment above before resuming the upgrade in ELM.

The apply script updates existing namespaces by merging the bundle's metadata into them: labels and annotations you added are kept unless the bundle declares the same key, and values declared in the bundle are restored. In particular, SAP's bundles declare istio-injection: enabled on their workload namespaces, so every script run restores that label. The SAP-only mesh uses this label for sidecar injection; on a cluster with other service meshes, the mesh assignment removes it again. See Upgrade Requirements for the upgrade sequence.

Assign Namespaces to the SAP Mesh

After each bundle succeeds, add the affected workload namespaces to the SAP mesh before continuing in ELM. Each workload namespace carries these labels:

Label Purpose Value on workload namespaces
istio-discovery Selects the namespaces the control plane watches. Must match the control plane's discoverySelectors. enabled
istio-injection Enables sidecar injection by the control plane named default. SAP bundles already set it. enabled
edgelm.sap.com/product, edgelm.sap.com/edge-node-id SAP ownership labels set by the bundle. Preserved unchanged

The workload namespaces are the ELM, EIC runtime, EIC Services, ELA, and IstioGateways namespaces: edgelm, edge-icell, edge-icell-services, edge-icell-ela, and istio-gateways by default. The EIC secrets namespace (edge-icell-secrets by default) stays outside the mesh, without discovery or injection labels.

When you deploy an additional EIC instance or register another Edge Node, assign its workload namespaces the same way. For the complete set of workload namespaces:

# Assign the workload namespaces to the SAP mesh
oc label namespace edgelm edge-icell edge-icell-services edge-icell-ela istio-gateways \
  istio-discovery=enabled istio-injection=enabled --overwrite

After an individual bundle apply, include only the affected namespaces that already exist. Initialize Edge Node and SCC Annotations and Service Mesh Labels per Component show the command for each bundle. On a cluster with other service meshes, use the labels from that section instead.

Initialize Edge Node

The example below uses the default ELM namespace edgelm. For a registration with a custom ELM namespace, use that namespace consistently in the annotation, labeling, service account, token, and verification commands. Keep the generated kubeconfig and bootstrap files separate for each Edge Node.

  1. In the ELM UI, start the Add an Edge Node process.
  2. On the first stage, Provide Edge Node Details, enter a name for your Edge Node.
  3. CRITICAL: Check "Restricted Access to Kubernetes cluster" checkbox
    • You MUST select this checkbox
    • Without this, ELM will attempt to use cluster-admin privileges and the deployment will fail
  4. When you reach the Initialize Edge Node stage, click Download Kubernetes Resources to download the resource files.
  5. Extract the archive into its own directory and use its bundled apply-restricted-resources.sh script. Select the administrator kubeconfig for both CLIs and verify the target before applying:
# Replace this path with the administrator kubeconfig for the target cluster
export KUBECONFIG="/path/to/cluster-admin-kubeconfig"
kubectl config current-context
kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}{"\n"}'

cd <path-to-downloaded-resources>/
chmod +x apply-restricted-resources.sh

# Validate namespace ownership without applying resources
./apply-restricted-resources.sh --check

# Apply the bundle (prompts for confirmation before applying)
./apply-restricted-resources.sh

Continue only after both commands succeed. See What the Script Checks and Applies for ownership conflicts, legacy adoption, and non-interactive use, and If the Script Reports kubectl is not on PATH if kubectl is missing. Keep using the administrator kubeconfig for the remaining cluster preparation commands; the runtime kubeconfig generated below is for ELM.

  1. Apply the OpenShift SCC annotation to the edgelm namespace and assign it to the SAP mesh. Configure these explicitly even when the downloaded namespace manifest already includes some of the labels:

Note: At this stage, only the edgelm namespace resources are included. Additional namespaces are handled during component deployment — see Component Resource Downloads.

# Apply SCC annotation to edgelm namespace
oc annotate namespace edgelm openshift.io/sa.scc.supplemental-groups="67000/1000" --overwrite

# Assign edgelm to the SAP mesh
oc label namespace edgelm istio-discovery=enabled istio-injection=enabled --overwrite
  1. Generate the Kubeconfig file. The downloaded resources created the edgelm namespace and its RBAC bindings. Now create the service account and kubeconfig that ELM will use to authenticate to your cluster:

CRITICAL: Use the service account name and namespace referenced by the downloaded RBAC bindings.

In the default example below, both are edgelm. For a custom ELM namespace, use the identity specified in that registration's bundle. Do not substitute an unrelated service account or reuse another Edge Node's runtime kubeconfig.

# --- 1. Create the 'edgelm' service account in the 'edgelm' namespace ---
oc create sa edgelm -n edgelm

# --- 2. Create a secret to hold the long-lived service account token ---
oc apply -n edgelm -f - <<EOF
apiVersion: v1
kind: Secret
metadata:
  name: edgelm-kubeconfig-token
  annotations:
    kubernetes.io/service-account.name: edgelm
type: kubernetes.io/service-account-token
EOF

# --- 3. Extract the token and generate the Kubeconfig file ---
export SECRET_NAME_SA=edgelm-kubeconfig-token
export TOKEN_SA=$(oc get secret ${SECRET_NAME_SA} -n edgelm -ojsonpath='{.data.token}' | base64 -d)
oc config view --raw --minify > edgelm-kubeconfig
oc config unset users --kubeconfig=edgelm-kubeconfig
oc config set-credentials edgelm --kubeconfig=edgelm-kubeconfig --token=${TOKEN_SA}
oc config set-context --current --kubeconfig=edgelm-kubeconfig --user=edgelm

echo "Kubeconfig file 'edgelm-kubeconfig' has been generated successfully."

# Test the kubeconfig file to ensure it works
oc --kubeconfig=edgelm-kubeconfig auth can-i list pods -n edgelm

# Expected output: "yes" - this confirms the kubeconfig works correctly

If ELM rejects the kubeconfig with a TLS error: On some clusters, ELM reports:
Cluster '<api-host>:6443' must have exactly one of 'certificate-authority-data' or 'insecure-skip-tls-verify: true' defined, but not both or neither.

This happens when the admin's current login relies on the operating system's trust store (for example, a cluster whose API server presents a publicly or corporately trusted certificate). In that case oc config view --raw --minify copies a cluster entry that contains neither field, which ELM does not accept. Embed the cluster's CA into the generated kubeconfig:

# Derive the API server host:port and cluster name from the generated kubeconfig
API_URL=$(oc --kubeconfig=edgelm-kubeconfig config view -o jsonpath='{.clusters[0].cluster.server}')
CLUSTER_NAME=$(oc --kubeconfig=edgelm-kubeconfig config view -o jsonpath='{.clusters[0].name}')

# Fetch the API server CA chain and embed it into the kubeconfig
echo | openssl s_client -connect "${API_URL#https://}" -showcerts 2>/dev/null \
  | openssl x509 -outform PEM > cluster-ca.crt
oc config set-cluster "${CLUSTER_NAME}" \
  --certificate-authority=cluster-ca.crt --embed-certs=true \
  --kubeconfig=edgelm-kubeconfig

Re-run the auth can-i test above to confirm the kubeconfig still works, then upload it to ELM.

Not recommended: As a last-resort fallback for testing only, you can instead disable certificate verification. This weakens transport security and should never be used for a production registration:

oc config set-cluster "${CLUSTER_NAME}" --insecure-skip-tls-verify=true --kubeconfig=edgelm-kubeconfig
  1. Back in the ELM UI:

    1. Check the "I confirm that I have downloaded and applied resources" checkbox
    2. Upload the edgelm-kubeconfig file you generated in the previous step
    3. Enter a Context Password and click Download Bootstrapping File
    4. Proceed with the rest of the configuration as guided by the UI
  2. If your environment requires a corporate proxy, select "Enable HTTP Proxy" and configure the proxy settings.

    • Note: Ensure you used the Corporate Proxy Configuration (Command 4b) in Step 2 when deploying the Istio control plane, and created the Corporate Proxy ServiceEntry in the control plane namespace.

Verification

After applying the annotation and labels, verify that they were applied correctly:

# Verify SCC annotations on edgelm namespace
oc get namespace edgelm -o yaml | grep -A 2 "openshift.io/sa.scc"

# Expected output should show:
#   openshift.io/sa.scc.supplemental-groups: 67000/1000

# Verify the mesh labels on edgelm
oc get namespace edgelm -L istio-discovery,istio-injection

# Expected output: enabled in both columns

Component Resource Downloads (Deployment and Upgrades)

Each deployed component has its own Kubernetes resources that must be downloaded and applied to the cluster. These resources are available from the All Deployments view in the ELM UI.

Components Requiring Resource Downloads

Component Archive Default Namespaces Created
IstioGateways restricted-resources-IstioGateways-<version>.zip istio-gateways
Edge Integration Cell Services restricted-resources-Edge_Integration_Cell_Services-<version>.zip edge-icell-services
Edge Integration Cell restricted-resources-Edge_Integration_Cell-<version>.zip edge-icell, edge-icell-secrets, edge-icell-ela, edge-icell-services, istio-gateways

Note: The Edge Integration Cell archive is a superset — it includes all namespace definitions and resources from the IstioGateways and Edge Integration Cell Services archives. You can apply just the Edge Integration Cell archive to cover all three components. If you do, you must still apply the required SCC annotations and Service Mesh labels for all workload namespaces listed below.

This scope is the selected EIC deployment and its dependencies; it does not cover every EIC instance or Edge Node on the cluster. With custom namespaces, use the names recorded in that deployment's bundle in the commands below.

How to Download Component Resources

  1. Navigate to All Deployments in the ELM UI
  2. Locate the component (e.g., IstioGateways, Edge Integration Cell)
  3. Click the "..." (actions menu) for the component
  4. Select "Download Kubernetes Resources"
  5. Extract the archive into a separate directory and review ownership for all affected namespaces. Apply it using the script supplied with that download and the administrator kubeconfig from the initialization step, following Resource Bundle Scope and Apply Script:
cd <path-to-component-resources>/
chmod +x apply-restricted-resources.sh
./apply-restricted-resources.sh --check   # runs the supplied script's preflight checks
./apply-restricted-resources.sh
  1. After the script succeeds, apply and verify the required SCC annotations and Service Mesh labels for all relevant workload namespaces included in the archive, including dependent components' namespaces (see below). If the deployment uses High Availability with the Message Service Pod Initializer, also apply the Pod Initializer webhook. Then continue deployment in ELM.

SCC Annotations and Service Mesh Labels per Component

After the bundle succeeds, run the command groups below for every namespace it affects, including dependencies, before continuing deployment or upgrade. The oc label commands assign each workload namespace to the SAP mesh. Preserve SAP ownership metadata.

For multiple EIC instances, reuse the same SCC annotation values below for each corresponding component namespace. The UID and supplemental-group ranges are component-specific and do not change by EIC instance or Edge Node. The Istio labels are also the same for every EIC instance and Edge Node.

The EIC secrets namespace (edge-icell-secrets by default) remains managed through the generated bundle. It requires no additional SCC annotations or Istio discovery/injection labels in this setup.

After applying IstioGateways resources:

# Assign istio-gateways to the SAP mesh
oc label namespace istio-gateways istio-discovery=enabled istio-injection=enabled --overwrite

After applying Edge Integration Cell Services resources:

# Apply SCC annotations to edge-icell-services namespace
oc annotate namespace edge-icell-services openshift.io/sa.scc.uid-range="1000000/1000" --overwrite
oc annotate namespace edge-icell-services openshift.io/sa.scc.supplemental-groups="1000002/1000" --overwrite

# Assign edge-icell-services to the SAP mesh
oc label namespace edge-icell-services istio-discovery=enabled istio-injection=enabled --overwrite

For the EIC workload namespaces after applying Edge Integration Cell resources:

# Apply SCC annotations to edge-icell namespace
oc annotate namespace edge-icell openshift.io/sa.scc.uid-range="10000/100" --overwrite
oc annotate namespace edge-icell openshift.io/sa.scc.supplemental-groups="1000/100" --overwrite

# Apply SCC annotations to edge-icell-ela namespace
oc annotate namespace edge-icell-ela openshift.io/sa.scc.uid-range="100000/1000" --overwrite
oc annotate namespace edge-icell-ela openshift.io/sa.scc.supplemental-groups="100002/1000" --overwrite

# Assign edge-icell and edge-icell-ela to the SAP mesh
oc label namespace edge-icell edge-icell-ela istio-discovery=enabled istio-injection=enabled --overwrite

Verify Mesh Labels and Sidecar Injection

After applying all component resources and their labels, verify that each workload namespace belongs to the SAP mesh:

# Verify Istio discovery and injection labels across all namespaces
oc get ns -L istio-discovery,istio-injection

# Expected output: edgelm, edge-icell, edge-icell-ela, edge-icell-services,
# and istio-gateways show enabled in both columns.
# edge-icell-secrets should have neither label.

After ELM deploys a component, confirm that its pods were injected by the SAP control plane. Injected pods carry an istio.io/rev annotation naming the revision that injected them:

# Every injected pod should show default
oc get pods -n edge-icell \
  -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.annotations.istio\.io/rev}{"\n"}{end}'

Upgrade Requirements

IMPORTANT: Resource Updates for Upgrades

When you initiate an upgrade in ELM, ELM checks whether Kubernetes resource changes are required. If no changes are required, the upgrade proceeds without manual resource application. If changes are required, the operation status changes to Prepared and the upgrade pauses, waiting for you to download and apply the updated resources. Complete the resource application and OpenShift configuration below, then resume the upgrade in ELM. See SAP ELM Key Concepts.

OpenShift configuration: Verify and re-apply the required SCC annotations and mesh labels after the resource update and before resuming.

Resource update procedure — after you initiate an upgrade and its status changes to Prepared:

  1. In the ELM UI, navigate to All Deployments and download the Kubernetes resources for the target version and current upgrade operation (see How to Download Component Resources). This also applies when ELM itself requires updated restricted resources.
  2. Extract the updated archive into a separate directory. Verify the target context and ownership of all affected namespaces, then run the supplied script with the administrator kubeconfig:

    cd <path-to-updated-resources>/
    chmod +x apply-restricted-resources.sh
    ./apply-restricted-resources.sh --check
    ./apply-restricted-resources.sh
    
  3. After the script succeeds, re-apply and verify SCC annotations and Service Mesh labels for all affected namespaces. Use the edgelm commands in Initialize Edge Node and the relevant groups in SCC Annotations and Service Mesh Labels per Component.

  4. Resume the upgrade in the ELM UI only after both the SAP resource apply and OpenShift configuration steps succeed.

Note: Download resources for each operation that ELM marks as requiring an update. A single EIC archive can also update dependency resources, so review the actual manifests and configure every affected namespace. If ELM requests additional component downloads, repeat the procedure with those bundles; do not assume an earlier combined download satisfies a different operation or target version.

Optional: Message Service Pod Initializer Webhook

Skip this step unless the EIC deployment has both High Availability and Enable Message Service Pod Initializer switched on. The Pod Initializer is optional and not required for High Availability.

With this option, an administrator applies the Pod Initializer webhook from webhook-pod-initializer.yaml, which is attached to SAP Note 3618713 in resources.zip; the ELM resource bundles do not include it. Apply it after the bundle that creates the EIC Services namespace succeeds and the SCC annotations and mesh labels are applied, then continue the deployment in ELM. The webhook pod does not start until the webhook's Secret exists.

For the procedure, including custom namespaces, multiple EIC instances, verification, and certificate renewal, see Configuring the Message Service Pod Initializer Webhook for SAP Edge Integration Cell on OpenShift.

Optional: Exposing the Istio Ingress Gateway via OpenShift Routes

If your environment does not have a LoadBalancer provider (e.g., MetalLB), you can expose the Istio Ingress Gateway using OpenShift Routes instead.

Important: For restricted-access deployments, create the Route in the namespace containing that deployment's istio-ingressgateway service. The default is istio-gateways; use the selected gateway namespace for a deployment with custom names.

For full instructions — including Route YAML examples, the manual service patch workaround, support scope, traffic flow with external load balancers, and operational restrictions — see Exposing the SAP EIC Istio Ingress Gateway in the Installation Guide.

Clusters with Other Service Meshes

Use this configuration when the cluster also runs other applications that use Istio, or a control plane named default already exists. A control plane named default injects sidecars into every namespace labeled istio-injection=enabled, including other applications' namespaces. The SAP control plane therefore gets its own name, and each SAP workload namespace selects it with the istio.io/rev label. Do not assign SAP namespaces to a control plane that serves other applications.

Follow this guide with these changes:

  1. Control plane. In Commands 3 to 5 of Step 2, use the namespace istio-system-sap-edge, the Istio resource name sap-mesh-istio, and the discovery value sap-edge-mesh. Wait for istio/sap-mesh-istio to be ready, and create the Corporate Proxy ServiceEntry in istio-system-sap-edge.
  2. Namespace labels. Wherever this guide assigns workload namespaces to the SAP mesh, set the discovery value and revision, and remove the bundle's istio-injection label:

    # Assign the workload namespaces to the SAP mesh and remove the bundle's istio-injection label
    oc label namespace edgelm edge-icell edge-icell-services edge-icell-ela istio-gateways \
     istio-discovery=sap-edge-mesh istio.io/rev=sap-mesh-istio istio-injection- --overwrite
    

    Do this after every bundle apply. The bundles declare istio-injection: enabled, and the revision-specific injection webhook skips any namespace that also has istio-injection. If the label remains, the namespace's pods get no sidecar, or are injected by another control plane named default.

  3. Verification. In oc get ns -L istio-discovery,istio.io/rev,istio-injection, the workload namespaces show sap-edge-mesh and sap-mesh-istio, with an empty ISTIO-INJECTION column. Injected pods carry the istio.io/rev annotation sap-mesh-istio.

Before creating the control plane, check the existing control planes so that the values do not collide with another mesh. Separate control planes and discovery selectors do not provide complete network isolation. Apply the required network and access policies separately; see Red Hat's discovery selector guidance and Deploying multiple service meshes on a single cluster.

Discover Existing Service Mesh Instances

Before adding a control plane to a cluster that already runs Istio, inventory what is already present so you don't collide with an existing control plane, revision, or namespace assignment.

1. List all Istio control planes and revisions:

# All Istio control planes (cluster-scoped resources) and their status
oc get istios.sailoperator.io

# All control plane revisions and their readiness (one per Istio, more during upgrades)
oc get istiorevisions.sailoperator.io

# The cluster-wide Istio CNI (shared by every control plane — there should be only one)
oc get istiocni.sailoperator.io

2. See which namespaces each control plane claims (its discovery selector):

# Print each Istio's name, control plane namespace, and discoverySelectors
oc get istios.sailoperator.io \
  -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.namespace}{"\t"}{.spec.values.meshConfig.discoverySelectors}{"\n"}{end}'

Each discoverySelectors entry (for example istio-discovery: enabled for an SAP-only mesh, or istio-discovery: sap-edge-mesh for an SAP control plane on a cluster with other service meshes) tells you the label a namespace needs to join that mesh. Pick a unique istio-discovery value for every new control plane so meshes do not overlap.

Look in particular for a control plane named default and for any control plane without discoverySelectors. The default revision injects every namespace still labeled istio-injection=enabled, and a control plane without discovery selectors watches every namespace. Either one can take over SAP namespaces whose labels are wrong.

3. See which mesh each namespace currently belongs to:

# Show the mesh-related labels on every namespace at a glance
oc get namespaces -L istio-injection,istio-discovery,istio.io/rev

# List only the namespaces bound to a specific control plane revision
oc get namespaces -l istio.io/rev=sap-mesh-istio

# List all EIC namespaces on the cluster (across every EIC instance)
oc get namespaces -l edgelm.sap.com/product=edgelm

4. Confirm which revision actually injects sidecars (the injection webhooks):

# Each revision registers its own injection webhook
oc get mutatingwebhookconfigurations -l istio.io/rev

# Inspect the running control plane pods per control plane namespace
oc get pods -n istio-system             # SAP-only mesh, or another control plane in this namespace
oc get pods -n istio-system-sap-edge    # SAP control plane on a cluster with other service meshes

Adding Another Edge Node to the Cluster

Each Edge Node on a cluster has its own ELM installation and SAP namespaces. Multiple Edge Nodes on one cluster require ELM 1.64 and EIC 8.48, or later compatible versions; confirm the supported combination in the SAP sources. A new Edge Node joins the existing SAP control plane:

  1. Plan its namespaces. Choose distinct SAP namespaces in ELM. See Multiple Edge Nodes for an example plan.
  2. Register the Edge Node. Follow Step 3 with its own ELM namespace, kubeconfig, and bootstrap file. After each resource apply, assign its workload namespaces to the SAP mesh with the same labels as the existing Edge Nodes.

The corporate proxy ServiceEntry in the control plane namespace already covers the new Edge Node.

Edge Node with a different owner: If the new Edge Node belongs to a different owner, such as another business unit or customer, and must not share the mesh with the others, give it its own control plane. Follow Clusters with Other Service Meshes with a distinct set of values, for example istio-system-sap-edge-b, sap-mesh-istio-b, and sap-edge-mesh-b, including its own corporate proxy ServiceEntry. Skip Step 1 and Commands 1 and 2: the Service Mesh Operator and Istio CNI are shared by all control planes, and their updates affect every Edge Node. Assign all namespaces of an Edge Node to the same control plane.

Clusters Configured with an Earlier Version of This Guide

Earlier versions of this guide offered two mesh configurations. Both match a configuration of the current procedure, so no migration is needed:

  • Shared mesh (default in istio-system, discovery value enabled): this is the current SAP-only mesh.
  • Dedicated mesh (sap-mesh-istio in istio-system-sap-edge, discovery value sap-edge-mesh): this is the configuration for clusters with other service meshes. Keep its istio.io/rev labels, and keep removing istio-injection after every resource apply.

Earlier versions also labeled the EIC secrets namespace. Remove those mesh labels:

oc label namespace edge-icell-secrets istio-discovery- istio-injection- istio.io/rev-

Changing namespace labels affects only pods created afterwards; running pods keep their current sidecars until they are recreated.

This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

Help

Site Info

Related Sites

© 2026 Red Hat