From f0aeda089e5bdc84190f5b85e150e079224f37d2 Mon Sep 17 00:00:00 2001 From: Antonio Gutierrez Date: Wed, 12 Apr 2023 22:24:36 +0200 Subject: [PATCH] README: refactor some kubectl and amend with comments In addition fixed a spelling error. Signed-off-by: Antonio Gutierrez --- K8s/helm/README.md | 5 ++--- README.md | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/K8s/helm/README.md b/K8s/helm/README.md index 3b8e50fee..84d114c99 100644 --- a/K8s/helm/README.md +++ b/K8s/helm/README.md @@ -11,8 +11,7 @@ $ helm install --name robot-shop --namespace robot-shop . ### Helm v3.x ```bash -$ kubectl create ns robot-shop -$ helm install robot-shop --namespace robot-shop . +$ helm install robot-shop --create-namespace --namespace robot-shop . ``` ## Images @@ -31,7 +30,7 @@ By default the latest version of the images is pulled. A specific version can be $ helm install --set image.version=0.1.2 ... ``` -It is recommened to always use the latest version. +It is recommended to always use the latest version. ## Pod Security Policy diff --git a/README.md b/README.md index 08a507d53..d2d251b6f 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ If you are running the store locally via *docker-compose up* then, the store fro If you are running the store on Kubernetes via minikube then, find the IP address of Minikube and the Node Port of the web service. ```shell -$ minikube ip -$ kubectl get svc web +$ minikube ip # To get the IP address +$ kubectl get svc web # To get the mapped port e.g: 8080:MAPPED_PORT ``` If you are using a cloud Kubernetes / Openshift / Mesosphere then it will be available on the load balancer of that system.