From e935651cf552a84e89afaebad875d51c97557a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20David?= Date: Mon, 25 Mar 2024 15:58:15 -0400 Subject: [PATCH] NO-ISSUE: Improve Minikube setup (#606) Improve Minikube setup --- .../preparing-environment.adoc | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/serverlessworkflow/modules/ROOT/pages/getting-started/preparing-environment.adoc b/serverlessworkflow/modules/ROOT/pages/getting-started/preparing-environment.adoc index 27fc7908f..73a1feb38 100644 --- a/serverlessworkflow/modules/ROOT/pages/getting-started/preparing-environment.adoc +++ b/serverlessworkflow/modules/ROOT/pages/getting-started/preparing-environment.adoc @@ -29,22 +29,36 @@ Please note, that if the knative quickstart procedure is not used, you need to i .To startup the selected cluster without quickstart, use the following command: [tabs] ==== -Minikube:: +Minikube with Docker:: + -- -.Configure and startup minikube +.Configure and startup minikube with Docker [source,shell] ---- # Set a driver and container runtime -minikube config set driver docker/podman -minikube config set container-runtime docker/podman +minikube config set driver docker +minikube config set container-runtime docker -# Set cpu and memory -# 4096 is minimal baseline, increase to 6144 or 8192 if possible -minikube config set cpus 4 -minikube config set memory 4096 +# Start the cluster +# Set the memory to at least 4096, increase to 6144 or 8192 if possible +minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000" + +# Set the active profile +minikube profile minikube +---- +-- +Minikube with Podman:: ++ +-- +.Configure and startup minikube with Podman +[source,shell] +---- +# Set a driver and container runtime +minikube config set driver podman +minikube config set container-runtime podman # Start the cluster +# Set the memory to at least 4096, increase to 6144 or 8192 if possible minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000" # Set the active profile