Skip to content

Commit 6182853

Browse files
committed
Fixed "Show the app in the terminal" URL
The app is listening on port 8080 so that must be included otherwise port 80 (default) is used and the curl request will fail. Issue: 41259
1 parent 6486762 commit 6182853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tutorials/kubernetes-basics/explore/explore-intro.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h3>Show the app in the terminal</h3>
154154
<p><code><b>export POD_NAME="$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')"</b></code><br />
155155
<code><b>echo Name of the Pod: $POD_NAME</b></code></p>
156156
<p>To see the output of our application, run a <code>curl</code> request:</p>
157-
<p><code><b>curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/</b></code></p>
157+
<p><code><b>curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/</b></code></p>
158158
<p>The URL is the route to the API of the Pod.</p>
159159
</div>
160160
</div>

0 commit comments

Comments
 (0)