Merge pull request #40484 from niranjandarshann/incorrectcommand/tutorial
Add missing quote in Performing a Rolling Update tutorial page
This commit is contained in:
commit
dee7405a87
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue