Minikube

Minikube allows a Kubernetes cluster to be run locally on MacOS, Windows and Linux. Using Minikube an Autonity network can be started on your local machine.

Prerequisites

To follow this tutorial you will need a basic understanding of using a terminal. In terms of software prerequsites you will need

From the terminal ensure that everything was correctly installed.

git --version
minikube version
helm version

You should see the version numbers for the installs printed back to the terminal.

Starting Minikube

Minikube starts a Kubernetes cluster on your local machine that you can deploy services into. You will be starting Minikube so that you can use the helm charts to start an Autonity network.

Open a new terminal and run

minikube start

Depending on your local environment this may start some downloads to complete the minikube installation. This step can take a while so this may be a good time to fetch coffee. Once minikube has finished booting it will print a line stating the local IP address of the cluster.

If you see the following the cluster has started and is ready to go.

🏄  Done! Thank you for using minikube!

Deploy Tiller to the cluster and configure helm

Run the following command to initialise helm: It will deploy tiller into cluster and give your possibilities to deploy packages using helm

helm init