Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

  1. Install helm3
  2. Install push plugin
  3. setup local chartmuseum
  4. 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






  • No labels