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

Version 1 Next »

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/en/latest/submodules/oom.git/docs/oom_cloud_setup_guide.html.

Minikube

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

Kubernetes

Example with ONAP El-Alto version of Kubernetes

Start minikube
minikube start --kubernetes-version=1.15.2

NOTE: Kubernetes version ALWAYS needs to be given explicitly.

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

"--cpus 4 --memory 8192 --disk-size 50g"

for cpus memory and disk size.

Kubectl and and Helm clients

Install binary versions of both clients and select correct versions for particular ONAP version.

ONAP Helm charts

  1. Clone ONAP Helm charts 

    git clone "https://gerrit.onap.org/r/oom"
  2. Change to kubernetes dir

    cd oom/kubernetes
  3. Start Helm service and initialize local Helm repository

    make repo
    # This will do same as:

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

  4. Package ONAP Helm charts

    make
  5. Initialize Helm (install Tiller POD into Kubernetes)

    helm init


  • No labels