Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update link OOM setup

Instruction for installing minikube for running any ONAP component or whole onap.

Make sure you install correct versions of Kubernetes, kubectl and Helm to match the particular ONAP version. Find out required versions for onap e.g. from  https://docs.onap.org/projects/onap-oom/en/latest/submodules/oom.git/docs/oom_cloud_setup_guide.htmlhtml#oom-cloud-setup-guide.

Minikube

There's not known requirements for minikube version, you may install latest version.

...

NOTE: Kubernetes version ALWAYS needs to be given explicitly.

NOTE: If you are running minikube on a dedicated linux box add "--vm-driver=none"

You may also want to give additional minikube parameters depending on your machine capabilities and amount of ONAP components to be installed e.g.

...

ONAP Helm charts

  1. Clone ONAP Helm charts charts for specific release including submodules

    git clone --branch elalto --recurse-submodules "https://gerrit.onap.org/r/oom"

  2. Change to kubernetes dir

    cd oom/kubernetes

  3. Initialize Helm and configure Tiller

    Code Block
    languagebash
    titleConfigure Tiller
    kubectl -n kube-system create serviceaccount tiller
    
    kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
    
    helm init --service-account tiller
    
    kubectl -n kube-system rollout status deploy/tiller-deploy


  4. Start Helm service and initialize local Helm repository

    make repo
    # This will do same as:

    helm serve &
    helm repo add local httpadd local http://127.0.0.1:8879

  5. Package ONAP Helm charts

    make

    Initialize Helm (install Tiller POD into Kubernetes)

    helm init