With H-Release helm3 is mandatory for oom based deployment.
This how to describes basic steps to run successfully
- 'make all; make onap'
- helm deploy ...
Step-by-step guide
- Install helm3
- Install push plugin
- setup local chartmuseum
- Install postgres
Install helm3
https://helm.sh/docs/intro/install/
Install push plugin
https://github.com/chartmuseum/helm-push
Setup local chartmuseum
https://github.com/helm/chartmuseum
Example for installer:
curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash mkdir ~/chartstorage chartmuseum --debug --port=8080 \ --storage="local" \ --storage-local-rootdir="~/chartstorage" helm repo add local http://localhost:8080
Example docker-compose:
TODO
Install postgress
example for docker-compose:
docker-compose.yaml
version: '3.1' services: db: image: postgres restart: always ports: - "5432:5432" env_file: - database.env # configure postgres volumes: - database-data:/var/lib/postgresql/data/ # persist data even if container shuts down volumes: database-data: driver_opts: type: none device: /var/lib/docker/postgres o: bind
database.env
database.env
# database.env POSTGRES_USER=helm POSTGRES_PASSWORD=changeme POSTGRES_DB=helm
mkdir /var/lib/docker/postgresdocker-compose -d export HELM_DRIVER=sql export HELM_DRIVER_SQL_CONNECTION_STRING=postgresql://helm:changeme@localhost:5432/helm?sslmode=disable
Related articles