From 1a509fd3e4c185bfa4be606813da0fa075b228f8 Mon Sep 17 00:00:00 2001 From: "David M. Lentz" Date: Wed, 24 Jan 2024 20:08:15 -0700 Subject: [PATCH] Update deploy-intro.html Fix typo --- .../tutorials/kubernetes-basics/deploy-app/deploy-intro.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html b/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html index cb93327662..3c3a27afa0 100644 --- a/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html +++ b/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html @@ -7,7 +7,6 @@ description: |- --- - @@ -150,7 +149,7 @@ description: |-

curl http://localhost:8001/version

The API server will automatically create an endpoint for each pod, based on the pod name, that is also accessible through the proxy.

-

First we need to get the Pod name, and we'll store in the environment variable POD_NAME:

+

First we need to get the Pod name, and we'll store it in the environment variable POD_NAME:

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

You can access the Pod through the proxied API, by running: