From e553e09c48d2e535b6f7a12138df6797b4fa0429 Mon Sep 17 00:00:00 2001 From: Burr Sutter Date: Tue, 8 Oct 2019 16:15:22 -0400 Subject: [PATCH] fixing some missing --profile --- 6_discovery.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/6_discovery.adoc b/6_discovery.adoc index d8ebe67..5e1f4d1 100644 --- a/6_discovery.adoc +++ b/6_discovery.adoc @@ -19,7 +19,7 @@ $ ctrl-c # build the docker image and test it $ docker build -t 9stepsawesome/mynode:v1 . $ docker run -it -p 8000:8000 9stepsawesome/mynode:v1 -$ curl $(minikube ip):8000 +$ curl $(minikube --profile 9steps ip):8000 $ ctrl-c # deploy it into minikube/minishift $ cd ../.. # to the main 9stepsawesome directory @@ -30,7 +30,7 @@ $ kubectl get all -n yourspace Now invoke the "callinganother" endpoint on the myboot service ---- -$ curl $(minikube ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}" -n myspace)/callinganother +$ curl $(minikube --profile 9steps ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}" -n myspace)/callinganother Node Hello on mynode-7dc8bddd4d-spv5h 0 ---- @@ -56,9 +56,9 @@ and now invoke the "callinganother" again and again [source,bash] ---- -$ curl $(minikube ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}")/callinganother +$ curl $(minikube --profile 9steps ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}")/callinganother Node Hello on mynode-7dc8bddd4d-spv5h 4 -$ curl $(minikube ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}")/callinganother +$ curl $(minikube --profile 9steps ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}")/callinganother Node Hello on mynode-7dc8bddd4d-6gb8j 1 ----