From 95cf12dea6c0f40e2c97bd25caee396cc19af728 Mon Sep 17 00:00:00 2001 From: Dmitry Shurupov Date: Tue, 26 Mar 2024 14:09:30 +0700 Subject: [PATCH] Show the correct proxy URL in the deploy-intro (ru) Signed-off-by: Dmitry Shurupov --- .../tutorials/kubernetes-basics/deploy-app/deploy-intro.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ru/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html b/content/ru/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html index da4929ed62..8c2e8e12e9 100644 --- a/content/ru/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html +++ b/content/ru/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html @@ -137,7 +137,7 @@ description: |-

export POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
echo Name of the Pod: $POD_NAME

Теперь получим доступ к поду через проксированный API, выполнив команду:

-

curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/

+

curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/

Чтобы новый деплоймент был доступен без использования прокси, потребуется сервис (объект Service), о котором будет рассказано в следующих разделах.