Merge pull request #40484 from niranjandarshann/incorrectcommand/tutorial

Add missing quote in Performing a Rolling Update tutorial page
This commit is contained in:
Kubernetes Prow Robot 2023-04-17 02:20:44 -07:00 committed by GitHub
commit dee7405a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ description: |-
<p>First, check that the app is running. To find the exposed IP address and port, run the <code>describe service</code> command:</p>
<p><code><b>kubectl describe services/kubernetes-bootcamp</b></code></p>
<p>Create an environment variable called <tt>NODE_PORT</tt> that has the value of the Node port assigned:</p>
<p><code><b>export NODE_PORT="$(kubectl get services/kubernetes-bootcamp -o go-template='{{(index .spec.ports 0).nodePort}}')</b></code><br />
<p><code><b>export NODE_PORT="$(kubectl get services/kubernetes-bootcamp -o go-template='{{(index .spec.ports 0).nodePort}}')"</b></code><br />
<code><b>echo "NODE_PORT=$NODE_PORT"</b></code></p>
<p>Next, do a <code>curl</code> to the the exposed IP and port:</p>
<p><code><b>curl http://"$(minikube ip):$NODE_PORT"</b></code></p>