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
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
Clone ONAP Helm charts
git clone "https://gerrit.onap.org/r/oom"
Change to kubernetes dir
cd oom/kubernetes
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:8879Package ONAP Helm charts
make
Initialize Helm (install Tiller POD into Kubernetes)
helm init