Deploying on minikube
minikube is a Kubernetes cluster that was made for development purposes. It allows us to create and destroy clusters with ease. Because of its simplicity, we’ll use minikube to deploy our hexagonal system by following these steps (I recommend following the instructions at https://minikube.sigs.k8s.io/docs/start/ to install minikube on your machine):
- Once you have installed minikube, you can start your cluster by issuing the following command:
$ minikube start :) minikube v1.4.0 on Fedora 30 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ... Preparing Kubernetes v1.16.0 on Docker 18.09.9 ... Pulling images ... Launching Kubernetes ... Waiting for: apiserver proxy etcd scheduler controller dns Done! kubectl is now configured to use "minikube"
The default cluster configuration consumes 2 CPUs, 2 GB of RAM, and 20 GB of disk...