This is work in progress
Introduction
The helm manager is a service for managing helm charts. The service provides a REST API for onboarding of charts as well as installation and uninstallation of applications based on these charts.
In addition to the helm manager, a chart repository is used to store the available. charts for onboarding and installation.
The Helm manager (and chart repo) can be executed in one of the following deployments:
- As docker container on a local machine with kubernbetes
- As kubernetes services/pods on a local machine with kubernetes
- As kubernetes services/pods on a kubernetes cluster
Preparation
Clone the nonrtric repo from gerrit and change dir. Make sure to use the correct branch when cloning.
All needed scripts for start and run the helm manager, in docker or kubernetes are in this directory.
If the Helm Manager shall be installed in a kubernetes cluster the actions below shall be made on a node in cluster.
Code Block | ||||
---|---|---|---|---|
| ||||
$ git clone "https://gerrit.o-ran-sc.org/r/nonrtric" -b <branch> $ cd helm-manager |
Build image
...
Instruction to build the image:
Code Block | ||||
---|---|---|---|---|
| ||||
$ mvn clean package |
The built image should be named: o-ran-sc/nonrtric-helm-manager:1.0.0-SNAPSHOT
...
Create helm chart for test
Code Block | ||||
---|---|---|---|---|
| ||||
$ helm create simple-app |
Run in docker with local kubernetes
...