Skip to content

Commit

Permalink
Fix link and add anchor to navigate to specific section.
Browse files Browse the repository at this point in the history
Fix the target link in the expose-intro tutorial and add an anchor to deploy-intro so the link points to the specific page location.
  • Loading branch information
stormqueen1990 committed Jun 27, 2023
1 parent 0924c73 commit 9c0d101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -112,6 +112,7 @@ <h3>kubectl basics</h3>
</div>
<div class="row">
<div class="col-md-12">
<a id="deploy-an-app"></a>
<h3>Deploy an app</h3>
<p>Let’s deploy our first app on Kubernetes with the <code>kubectl create deployment</code> command. We need to provide the deployment name and app image location (include the full repository url for images hosted outside Docker hub).</p>
<p><b><code>kubectl create deployment kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1</code></b></p>
Expand Down
Expand Up @@ -97,7 +97,7 @@ <h3>Services and Labels</h3>
<h3>Create a new Service</h3>
<p>Let’s verify that our application is running. We’ll use the <code>kubectl get</code> command and look for existing Pods:</p>
<p><code><b>kubectl get pods</b></code></p>
<p>If no Pods are running then it means the objects from the previous tutorials were cleaned up. In this case, go back and recreate the deployment from the <a href="/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html">Using kubectl to create a Deployment</a> tutorial.
<p>If no Pods are running then it means the objects from the previous tutorials were cleaned up. In this case, go back and recreate the deployment from the <a href="/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro#deploy-an-app">Using kubectl to create a Deployment</a> tutorial.
Please wait a couple of seconds and list the Pods again. You can continue once you see the one Pod running.</p>
<p>Next, let’s list the current Services from our cluster:</p>
<p><code><b>kubectl get services</b></code></p>
Expand Down

0 comments on commit 9c0d101

Please sign in to comment.