Install and Setup Minikube for Fluvio Deployment

Install Minikube and Setup Cluster 

Follow the instructions on Minikube Getting Started guide to install Minikube in your environment and set up local Kubernetes cluster.

Check Minikube Cluster version 

To check minikube has created the right version of the cluster.

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T12:36:28Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.7", GitCommit:"4683545293d792934a7a7e12f2cc47d20b2dd01b", GitTreeState:"clean", BuildDate:"2019-06-06T01:39:30Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

Server version should be v1.13.x or greater.

Install Minikube specific storage class 

Fluvio needs Minikube storage driver to save messages for topic/partitions. To install:

$ kubectl apply -f ./k8-util/crd/config/minikube-storageclass-spu.yaml

Setup Minikube Tunnel 

To expose Minikube ports to your environment, we need to setup a tunnel to your local network.
Run the following script to setup the tunnel:

$ sudo ./k8-util/minikube-tunnel.sh
Next Steps