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 Java 17+17.0.6java --versionDockerClient: 20.10.22; Server:20.10.22docker versionVirtualBox6.1.42r155177VBoxManage -versionHelmv3.11.1helm versionMinikubev1.29.0minikube versionKubectlClient: v1.22.5; Server:v1.23.3kubectl version --short -
Helm Chart Repositories
You must have the following
repo's added in your helm chart repository list.NAME URL codecentric https://codecentric.github.io/helm-charts/ kong https://charts.konghq.com bitnami https://charts.bitnami.com/bitnami elastic https://helm.elastic.co confluentinc https://confluentinc.github.io/cp-helm-charts/In order to check it, run
helm repo listIf some of them is missing, here are the commands to add
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 helm repo add confluentinc https://confluentinc.github.io/cp-helm-charts/Run the command below to get the latest information about charts from the chart repositories
helm repo update
-
Open a terminal and start
Minikubeby running the following command. The properties--memoryand--vm-driverare 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