From f9266103e253d9f820c6ac088214135fafd6a91b Mon Sep 17 00:00:00 2001 From: Adir111 Date: Mon, 27 May 2024 12:55:58 +0300 Subject: [PATCH] Updated some errors found while installing, also removed dollar sign from console locations (easier to copy) --- site/learn/InstallHkube.md | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/site/learn/InstallHkube.md b/site/learn/InstallHkube.md index b09f6a2..090f140 100644 --- a/site/learn/InstallHkube.md +++ b/site/learn/InstallHkube.md @@ -30,8 +30,17 @@ To add the repo to your helm run $ helm repo add hkube http://hkube.org/helm/ ``` ## Start minikube -Currently HKube requires at least 4 cpu cores and 6GB of memory, ingress controller, registry, and dynamic storage - +Currently HKube requires at least 4 cpu cores and 6GB of memory, ingress controller, registry, and dynamic storage. +First, run: +```bash +docker context use default +``` +This will be your output: +```console +default +Current context is now "default" +``` +Next: ```hkube-tabs # { "hkube": true, "schema": "install" } ``` @@ -40,20 +49,20 @@ Currently HKube requires at least 4 cpu cores and 6GB of memory, ingress control To install the chart with the release name `hkube`: > Also set the registry to the internal registry -```console -$ helm install hkube --set build_secret.docker_registry=registry.minikube --set build_secret.docker_registry_insecure=true hkube/hkube +```bash +helm install hkube --set build_secret.docker_registry=registry.minikube --set build_secret.docker_registry_insecure=true hkube/hkube ``` This command installs `hkube` in a minimal configuration for development. See below for production install. > Be patient. This can take some time depending on your internet connection ### Open the dashboard Before starting your journey, verify that the requiered resources have finished loading (make sure to copy the whole line): -```console -$ kubectl rollout status deployment/simulator --watch; kubectl rollout status deployment/api-server --watch +```bash +kubectl rollout status deployment/simulator --watch; kubectl rollout status deployment/api-server --watch ``` Once it let's you know the resources have been successfully rolled out, get the IP address of your minikube instance -```console -$ minikube ip +```bash +minikube ip ``` and browse to the dashboard at `http:///hkube/dashboard/`