Skip to content

Commit

Permalink
fixing some missing --profile
Browse files Browse the repository at this point in the history
  • Loading branch information
burrsutter committed Oct 8, 2019
1 parent 11aa602 commit e553e09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 6_discovery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
----
Expand All @@ -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
----
Expand Down

0 comments on commit e553e09

Please sign in to comment.