Installing optional Nephio components
Note
If you want to use a version other than that of v3.0.0 of Nephio catalog repo, then replace the @origin/v3.0.0
suffix on the package URLs on the kpt pkg get
commands below with the tag/branch of the version you wish to use.
While using KPT you can either pull a branch or a tag from a git repository. By default, it pulls the tag. In case, you have branch with the same name as a tag then to:
#pull a branch
kpt pkg get --for-deployment <git-repository>@origin/v3.0.0
#pull a tag
kpt pkg get --for-deployment <git-repository>@v3.0.0
Nephio WebUI
The Nephio WebUI can be installed using the following document
FluxCD Controllers
As an alternative Git-ops tool running on the Nephio management cluster, the following Flux controllers can be installed.
kpt pkg get --for-deployment https://github.com/nephio-project/catalog.git/nephio/optional/fluxcd@origin/main
kpt fn render fluxcd
kpt live init fluxcd
kpt live apply fluxcd --reconcile-timeout=15m --output=table
The controllers are deployed to the flux-system namespace by default.
kubectl get po -n flux-system
Output:
NAME READY STATUS RESTARTS AGE
helm-controller-69c875c978-85tpx 1/1 Running 0 103s
kustomize-controller-596578b94c-gt999 1/1 Running 0 103s
notification-controller-684c9f69c-hpkkq 1/1 Running 0 103s
source-controller-849cd7dbc6-58ghr 1/1 Running 0 103s
O2IMS Operator
Install the operator using the below commands
kpt pkg get --for-deployment https://github.com/nephio-project/catalog.git/nephio/optional/o2ims@origin/main /tmp/o2ims
kpt fn render /tmp/o2ims
kpt live init /tmp/o2ims
kpt live apply /tmp/o2ims --reconcile-timeout=15m --output=table
The operator is deployed to the o2ims namespace by default.
kubectl get pods -n o2ims
Output:
NAME READY STATUS RESTARTS AGE
o2ims-operator-5595cd78b7-thggl 1/1 Running 0 5h27m