https://github.com/electrocucaracha/nephioadm
Nephio installer
https://github.com/electrocucaracha/nephioadm
nephio
Last synced: 3 months ago
JSON representation
Nephio installer
- Host: GitHub
- URL: https://github.com/electrocucaracha/nephioadm
- Owner: electrocucaracha
- Created: 2023-03-18T01:16:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T00:39:40.000Z (4 months ago)
- Last Synced: 2025-04-01T01:31:57.489Z (4 months ago)
- Topics: nephio
- Language: Go
- Homepage:
- Size: 144 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nephio installer
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/marketplace/actions/super-linter)
[](https://github.com/rubocop/rubocop)
[](https://goreportcard.com/report/github.com/electrocucaracha/nephioadm)
[](https://godoc.org/github.com/electrocucaracha/nephioadm)
This tool provisions [Nephio][1] components on target clusters
## Installation
```bash
go install github.com/electrocucaracha/nephioadm/cmd/nephioadm@latest
```## Usage
For management components (system, webui and configsync packages):
```bash
nephioadm init \
--base-path "/opt/nephio/mgmt" \
--git-service "http:/gitea-server:3000/nephio-playground" \
--backend-base-url "http://localhost:7007" \
--webui-cluster-type NodePort
```For workload components (configsync package):
```bash
nephioadm join \
--base-path "/opt/nephio/mgmt" \
--git-service "http:/gitea-server:3000/nephio-playground"
```## Provisioning process
This process uses two main components:
* Nephio packages ([official repository][1] by default). The `--nephio-repo`
argument allows the consumption of other sources. This can be useful during the
Nephio development and testing processes.
* Target clusters. Currently, this tool installs Nephio components on the
current pointing Kubernetes cluster. This cluster must be reachable from the
tool and requires the installation of [kpt CLI][2].```text
+-------------------------------------------------------+
| https://github.com/nephio-project/nephio-packages |
| +----------+ +--------------+ +---------+ |
| | system | | configsync | | webui | |
| +----------+ +--------------+ +---------+ |
+-------------------------------------------------------++-----------+
| nephioadm |
+-----------++---------------------------------+ +---------------------------------+
| mgmt (k8s) | | workload (k8s) |
| +-----------------------------+ | | +-----------------------------+ |
| | mgmt-control-plane | | | | workload-control-plane | |
| | podSubnet: 10.196.0.0/16 | | | | podSubnet: 10.197.0.0/16 | |
| | serviceSubnet: 10.96.0.0/16 | | | | serviceSubnet: 10.97.0.0/16 | |
| +-----------------------------+ | | +-----------------------------+ |
+---------------------------------+ +---------------------------------+
```The `--git-service` argument specifies the URL of the repository used by
[ConfigSync][3] and [Porch][4] components.[1]: https://github.com/nephio-project/nephio-packages.git
[2]: https://kpt.dev/installation/kpt-cli
[3]: https://cloud.google.com/anthos-config-management/docs/config-sync-overview
[4]: https://kpt.dev/book/08-package-orchestration/