Show the correct proxy URL in the deploy-intro.

This commit is contained in:
Dennis Schubert 2024-03-21 20:32:08 +01:00
parent dcbd588a6c
commit f69cbbde73
No known key found for this signature in database
GPG Key ID: 5A0304BEA7966D7E
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ description: |-
<p><b><code>export POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')</code></b><br />
<b><code>echo Name of the Pod: $POD_NAME</code></b></p>
<p>You can access the Pod through the proxied API, by running:</p>
<p><b><code>curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/</code></b></p>
<p><b><code>curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/</code></b></p>
<p>In order for the new Deployment to be accessible without using the proxy, a Service is required which will be explained in <a href="/docs/tutorials/kubernetes-basics/expose/">Module 4</a>.</p>
</div>