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

Compare with Current View Page History

Version 1 Next »


Wiki in progress (added draft notes)

  1. Create a VM (VCPU:12, RAM: 64 GB, Storage: 160 GB)
    1. Size is based on minimum ONAP components (AAF, Consul, Dmaap, DCAE)
  2. wget https://github.com/rancher/rke/releases/download/v1.2.5/rke_linux-amd64   (https://rancher.com/docs/rke/latest/en/installation/)
  3. mv rke_linux-amd64 rke

  4. chmod +x rke

  5. export PATH=$PATH:.

  6. rke config (to specifiy cluster config)
    1. optionally attached file can be edited; change VM/IP and key
  7.  rke up

  8.  docker ps

  9.  Install helm - https://wiki.onap.org/display/DW/Setup+helm3+for+oom

    1. sudo snap install helm --classic --channel=3.5/stable

    2.  export HELM_VERSION=v3.5.2  # Honolulu

    3.  wget https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz

    4.  tar -zxvf helm-$HELM_VERSION-linux-amd64.tar.gz

    5.  sudo mv linux-amd64/helm /usr/local/bin/helm-$HELM_VERSION

    6.  sudo rm /usr/local/bin/helm

    7.  sudo ln -s /usr/local/bin/helm-$HELM_VERSION /usr/local/bin/helm

  10.  helm version

    1.  helm plugin install https://github.com/chartmuseum/helm-push.git

  11. Install chart museum

    1. curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash

    1. mkdir ~/chartstorage

    2.  nohup chartmuseum --debug --port=8080   --storage="local"   --storage-local-rootdir="~/chartstorage"  &

    3.  helm repo add local http://localhost:8080

    4. helm search repo onap
  12. sudo mkdir  /var/lib/docker/postgres

    1.  sudo docker-compose up -d

    2.  apt  install docker-compose

    3.  sudo docker-compose up -d

    4.  export HELM_DRIVER=sql

    5.  export HELM_DRIVER_SQL_CONNECTION_STRING=postgresql://helm:changeme@localhost:5432/helm?sslmode=disable

  13.  vi cluster.rkestate
     chmod 755 cluster.rkestate
     mkdir .kube
     cp -p /home/ubuntu/kube_config_cluster.yml .kube/config

  14. helm list

  15. chmod 700 /root/.kube/config

  16. sudo snap install kubectl --classic --channel=1.19/stable

  17. kubectl get pods -n onap

  18. helm list --namespace onap

  19. helm delete onap-cli --namespace onap

  20. helm install onap-dcaemod local/dcaemod --namespace onap --set global.masterPassword=test1 --set global.pullPolicy=IfNotPresent


  • No labels