The instructions will work on Linux and macOS, they have not been tested on Windows bt should work, too.
The Minikube Getting Started has detailled instructions on how to install Minikube for the different platforms.
git clone https://github.com/Harald-U/security-and-microservices.git cd security-and-microservices/deployments/
In this workshop we will use Minikube in a somewhat minimal configuration with 2 CPUs and 4 GB of memory.
The Docker driver allows you to install Kubernetes into an existing Docker install. On Linux, this does not require any virtualization at all, on macOS this is using the virtualization of Docker Desktop (HyperKit).
minikube start --cpus 2 --memory 4096 --driver=docker
There may be a “leftover” (and damaged) Minikube instance that was present when the VMware image for the Linux environment was built. This may cause problems. Enter the following command before you start this workshop:
Output will be most likely something like this:
🔥 minikube" in docker wird gelöscht... 🔥 /home/student/.minikube/machines/minikube wird entfernt... 💀 Removed all traces of the "minikube" cluster.
Please be aware that this command will delete any existing Minikube cluster!
bwLehrpool has sufficient RAM to increase memory for Minikube, you can use this command instead:
minikube start --cpus 2 --memory 6144 --driver docker
which will assign 6 GB of RAM.
Continue with 2 - Setup Istio