From e08eb51af46cae5f19189570bb0b83c3f6e98cf1 Mon Sep 17 00:00:00 2001
From: Fucheng Yu <43120677+fyu17@users.noreply.github.com>
Date: Fri, 15 Sep 2023 22:45:53 -0400
Subject: [PATCH] Update
content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html
Co-authored-by: Nate W 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"
If Docker is the container runtime, minikube tunnel is needed. This is because Docker Desktop does not support ports.
+ {{< note >}}
If Docker is the container runtime, a 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: