Minikube install Cluster
Local Environment Minikube
First Build Cluster
This site covers everything for the firstBuildCluster.sh
script in our Repo [local-environment-minikube]
Preparation
On Windows: Refer to our Windows WSL
When you using linux, or after prepare your Windows WSL machine, you can do the following steps (Windows users run this in WSL Linux).
Needed programms should be in system package repos, if not, see following links. When one of these is missing the script notice you about it, and didn’t execute.
-
Install needed programms
-
Config minikube
minikube config set memory 8192
minikube config set cpus 6
- Driver
- on Windows, minikube chose automated Docker Desktop from Windows Host. Do not specify a driver.
- on Linux, the driver for Docker is automated chosen
-
Make sure, thar the following files are executable
- firstBuildCluster.sh
- installInfrastructure.sh
- core-service-interaction.sh
- deleteCluster.sh
You can run chmod +x *.sh
, after this, all .sh files in the directory are executable
Running firstBuildCluster.sh
script
Run ./firstBuildCluster.sh
that install full infrastructure, and all core services. After this, you can use the cluster.
Only Infrastructure
Run ./firstBuildCluster.sh --noservice
that install full infrastructure, and NO core services.
Use core-service-interaction.sh
for install needed core-services later.
Available Commands
Run ./firstBuildCluster.sh --help
or ./firstBuildCluster.sh -h
Refer our [Install for local testing]
Local Testing / local (insecure) registry
Start and Stop
Run minikube stop
to stop the cluster
Run minikube start
to start the cluster
This start the existing cluster with all existing infrastructure and core-services
Ports for Services
Refer our [Service external access]
Interaction with Core Services
Refer our [Core Service Interaction]