Installation on OpenShift

Step by step guide to install Nephio on OpenShift

This page is draft and the separation of the content to different categories is not clearly done.

In this guide, you will set up Nephio with:

  • Management Cluster: OpenShift with Advanced Cluster Management
  • Cluster Provisioner: Assisted Service
  • Workload Clusters: OpenShift Cluster or Single Node OpenShift Cluster or HyperShift Cluster or Remote Worker Node
  • Gitops Tool: OpenShift GitOps backed by ArgoCD
  • Git Provider: Gitea running in the Nephio management cluster will be the git provider for cluster deployment repositories. Some external repositories will be on GitHub.
  • Web UI Auth: OpenShift OAuth.
  • Ingress/Load Balancer: OpenShift Ingress will be used, supplying a Route to the Nephio and Gitea Web UIs.


Setup the Management Cluster

If you have already access to an OpenShift cluster, make sure you have cluster-admin privilege. Then go to the Install the requirements section.

Create the management cluster

Two methods exists:

Install the requirements

Install the two following operators:

Once installed, you need to prepare the management cluster for zero touch provisioning of OpenShift Cluster.

  1. Enable Central Infrastructure Management service

Install Nephio

OpenShift Package Repository

A repository of OpenShift-installation specific packages must be used to deploy Nephio. This repository contains packages derived from the standard Nephio R1 packages, but with OpenShift-specific modifications.

The blueprint package act as an App of Apps installing all the required Nephio components on the management cluster.

You can register this package as a read-only external repository by applying the blueprints-nephio-openshift ArgoCD Application:

oc apply -f

This will take care of applying the common dependencies and the common components

Access the Nephio

  • Get the Nephio URL:

    oc get route nephio -n nephio-webui -o=jsonpath=https://'{}'
  • Login using your OpenShift login

Access the Gitea UI

  • Get the Gitea URL:

    oc get route gitea -n gitea -o=jsonpath=https://'{}'
  • Login

    • user: gitea
    • password: password

Install edge clusters

Bare metal Single Node OpenShift

You first need to create the OpenShift context ConfigMap entries to customize the cluster configuration. Here is an example:

apiVersion: v1
kind: ConfigMap
  name: openshift-context
  annotations: "true" required
  release-image-name: openshift-v4.13.12
  cluster-name: ca-montreal
  ssh-pub-key: "YOUR_SSH_KEY"
  pull-secret: "YOUR_PULL_SECRET"
  bmc-address: "redfish-virtualmedia+"
  bmc-username: "ZXhhbXBsZQo="
  bmc-password: "ZXhhbXBsZQo="
  bmc-boot-mac-address: "02:04:00:00:01:03"

You can now create edge clusters by using kubectl to apply the following PackageVariantSet to your management cluster. It will inject the site specific configuration supplied in the ConfigMap.

kind: PackageVariantSet
  name: edge-clusters
    repo: openshift-packages-main
    package: nephio-workload-cluster-sno
    revision: main
  - repositories:
    - name: management
      - ca-montreal
      annotations: initial
      - kind: ConfigMap
        name: openshift-context
        - image: