The goal of this project is to have some examples using Kubernetes
(Minikube
)
-
Tools
You must have the following tools installed
Tool Version I used in the last commit Command to check Kubectl
Client: v1.20.1
; Server:v1.20.0
kubectl version
Minikube
v1.16.0
minikube version
Helm
v3.4.2
helm version
Java 11+
11.0.9.1
java --version
Docker
Client: 20.10.0
; Server:20.10.0
docker version
-
Helm Chart Repositories
You must have the following
repo
's added in your helm chart repository list.NAME URL stable https://charts.helm.sh/stable codecentric https://codecentric.github.io/helm-charts/ kong https://charts.konghq.com bitnami https://charts.bitnami.com/bitnami elastic https://helm.elastic.co
In order to check it, run
helm repo list
If some of them is missing, here are the commands to add
helm repo add stable https://charts.helm.sh/stable helm repo add codecentric https://codecentric.github.io/helm-charts/ helm repo add kong https://charts.konghq.com helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add elastic https://helm.elastic.co
Run the command below to get the latest information about charts from the chart repositories
helm repo update
-
Open a terminal and start
Minikube
by running the following command. The properties--memory
and--vm-driver
are optionalminikube start --memory='8000mb' --vm-driver='virtualbox'
-
Run the command below to get the latest information about charts from the chart repositories
helm repo update
The following command shuts down the Minikube Virtual Machine
, but preserves all cluster state and data. Starting the cluster again will restore it to its previous state.
minikube stop
The command shuts down and deletes the Minikube Virtual Machine
. No data or state is preserved.
minikube delete