Installing common dependencies

This guide describes how to install some required dependencies that are the same across all environments.

Some of these, like the resource-backend, will move out of the “required” category in later releases. Even if you do not use these directly in your installation, the CRDs that come along with them are necessary.

Network Config Operator

This component is a controller for applying configuration to routers and switches.

kpt pkg get --for-deployment https://github.com/nephio-project/catalog.git/nephio/optional/network-config@@origin/v3.0.0
kpt fn render network-config
kpt live init network-config
kpt live apply network-config --reconcile-timeout=15m --output=table

Resource Backend

The resource backend provides IP and VLAN allocation.

kpt pkg get --for-deployment https://github.com/nephio-project/catalog.git/nephio/optional/resource-backend@@origin/v3.0.0
kpt fn render resource-backend
kpt live init resource-backend
kpt live apply resource-backend --reconcile-timeout=15m --output=table

Setup a Downstream Git Repository

Nephio needs a git repository (as a source of truth) to store the packages which are getting deployed or are already deployed on the cluster. Either you can use GitHub, GitLab or Gitea. If you want to use Gitea, then you can follow below steps:

kpt pkg get --for-deployment https://github.com/nephio-project/catalog.git/distros/sandbox/gitea@@origin/v3.0.0
kpt fn render gitea
kpt live init gitea
kpt live apply gitea --reconcile-timeout 15m --output=table

You can find the Gitea ip-address via kubectl get svc -n gitea and use port 3000 to access it with login nephio and password secret.