Skip to content

Commit 181cbe0

Browse files
committed
Styling improvements for scale-intro.md
1 parent 909a438 commit 181cbe0

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

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

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,19 @@
1717

1818
<div class="row">
1919

20-
<div class="col-md-8">
21-
<h3>Objectives</h3>
22-
<ul>
23-
<li>Scale an app using kubectl.</li>
24-
</ul>
25-
</div>
26-
2720
<div class="col-md-8">
21+
22+
<h3>Objectives</h3>
23+
<ul>
24+
<li>Scale an app using kubectl.</li>
25+
</ul>
26+
2827
<h3>Scaling an application</h3>
2928

3029
<p>Previously we created a <a href="/docs/concepts/workloads/controllers/deployment/"> Deployment</a>, and then exposed it publicly via a <a href="/docs/concepts/services-networking/service/">Service</a>. The Deployment created only one Pod for running our application. When traffic increases, we will need to scale the application to keep up with user demand.</p>
3130
<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>
3231

33-
<p><em>Scaling</em> is accomplished by changing the number of replicas in a Deployment</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 >}}
32+
<p><em>Scaling</em> is accomplished by changing the number of replicas in a Deployment.</p>
3733
</div>
3834
<div class="col-md-4">
3935
<div class="content__box content__box_lined">
@@ -47,7 +43,14 @@ <h3>Summary:</h3>
4743
</div>
4844
</div>
4945
</div>
50-
<br>
46+
47+
<div class="row">
48+
<div class="col-md-12">
49+
{{< note >}}
50+
<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>
51+
{{< /note >}}
52+
</div>
53+
</div>
5154

5255
<div class="row">
5356
<div class="col-md-8">

0 commit comments

Comments
 (0)