Skip to content

Commit 14bda6e

Browse files
Improved the Note at the start of the section by specifying the command to create the Service if not present.
Specified the Step 2 which was missing earlier. Added the note inside a shortcode.
1 parent 5f09ece commit 14bda6e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h3>Step 1: Creating a new Service</h3>
128128

129129
<div class="row">
130130
<div class="col-md-12">
131-
<h3>Using labels</h3>
131+
<h3>Step 2: Using labels</h3>
132132
<div class="content">
133133
<p>The Deployment created automatically a label for our Pod. With the <code>describe deployment</code> subcommand you can see the name (the <em>key</em>) of that label:</p>
134134
<p><code><b>kubectl describe deployment</b></code></p>

content/en/docs/tutorials/kubernetes-basics/scale/scale-intro.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ <h3>Scaling an application</h3>
3131
<p>If you haven't worked through the earlier sections, start from <a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/">Using minikube to create a cluster</a>.</p>
3232

3333
<p><em>Scaling</em> is accomplished by changing the number of replicas in a Deployment</p>
34-
<p> <b> NOTE </b> If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section </a>, you may need to start from <a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/">creating a cluster</a> as the services may have been deleted </p>
34+
{{< note >}}
35+
<p>If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section</a>, you may have deleted the Service exposing the Deployment. In that case, please expose the Deployment again using the following command:</p><p><code><b>kubectl expose deployment/kubernetes-bootcamp --type="NodePort" --port 8080</b></code></p>
36+
{{< /note >}}
3537
</div>
3638
<div class="col-md-4">
3739
<div class="content__box content__box_lined">

0 commit comments

Comments
 (0)