Skip to content

Commit

Permalink
Merge pull request #46327 from Ogoyukin/patch-1
Browse files Browse the repository at this point in the history
[ru] fixed example port: *8080
  • Loading branch information
k8s-ci-robot authored May 12, 2024
2 parents c73d445 + 1d072ea commit eeeb98a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h3>Просмотр приложения в терминале</h3>
<p><code><b>export POD_NAME="$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')"</b></code><br />
<code><b>echo Name of the Pod: $POD_NAME</b></code></p>
<p>Чтобы увидеть вывод приложения, выполним запрос через <code>curl</code>:</p>
<p><code><b>curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/</b></code></p>
<p><code><b>curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/</b></code></p>
<p>Здесь URL указывает на маршрут к API пода.</p>
</div>
</div>
Expand Down

0 comments on commit eeeb98a

Please sign in to comment.