diff --git a/content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html b/content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html index 505056c3aa..3f0bfc53e1 100644 --- a/content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html +++ b/content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html @@ -113,20 +113,14 @@ description: |- echo "NODE_PORT=$NODE_PORT"

Now we can test that the app is exposed outside of the cluster using curl, the IP address of the Node and the externally exposed port:

curl http://"$(minikube ip):$NODE_PORT"

- {{< note >}} -

If Docker is the container runtime, minikube tunnel is needed. This is because Docker Desktop does not support ports.

-

In a seperate terminal window, execute:

-

- $ minikube service kubernetes-bootcamp --url
- http://127.0.0.1:51082
- ! Because you are using a Docker driver on darwin, the terminal needs to be open to run it. -

-

Then use the given url to access the app:

-

- $ curl 127.0.0.1:51082
- Hello Kubernetes bootcamp! | Running on: kubernetes-bootcamp-5485cc6795-tc27p | v=1 -

- {{< /note >}} + {{< note >}}

If Docker is the container runtime, minikube tunnel is needed. This is because Docker Desktop does not support ports.
+

In a separate terminal window, execute:
+ $ minikube service kubernetes-bootcamp --url

+

The output looks like this: +

http://127.0.0.1:51082
! Because you are using a Docker driver on darwin, the terminal needs to be open to run it.

+

Then use the given url to access the app:
+ $ curl 127.0.0.1:51082

+ {{< /note >}}

And we get a response from the server. The Service is exposed.