You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix scale-intro.html outputs indentations of terminal.
Fix command code block without line break
Update content/en/docs/tutorials/kubernetes-basics/scale/scale-intro.html
Co-authored-by: Michael <[email protected]>
<p>To list your Deployments use the <code>get deployments</code> subcommand:
114
-
<code><b>kubectl get deployments</b></code></p>
113
+
<p>To list your Deployments, use the <code>get deployments</code> subcommand:</p>
114
+
<p><code><b>kubectl get deployments</b></code></p>
115
115
<p>The output should be similar to:</p>
116
-
<pre>
117
-
NAME READY UP-TO-DATE AVAILABLE AGE
118
-
kubernetes-bootcamp 1/1 1 1 11m
119
-
</pre>
116
+
<pre>
117
+
NAME READY UP-TO-DATE AVAILABLE AGE
118
+
kubernetes-bootcamp 1/1 1 1 11m
119
+
</pre>
120
120
<p>We should have 1 Pod. If not, run the command again. This shows:</p>
121
121
<ul>
122
122
<li><em>NAME</em> lists the names of the Deployments in the cluster.</li>
@@ -125,8 +125,8 @@ <h3>Scaling a Deployment</h3>
125
125
<li><em>AVAILABLE</em> displays how many replicas of the application are available to your users.</li>
126
126
<li><em>AGE</em> displays the amount of time that the application has been running.</li>
127
127
</ul>
128
-
<p>To see the ReplicaSet created by the Deployment, run
129
-
<code><b>kubectl get rs</b></code></p>
128
+
<p>To see the ReplicaSet created by the Deployment, run:</p>
129
+
<p><code><b>kubectl get rs</b></code></p>
130
130
<p>Notice that the name of the ReplicaSet is always formatted as <tt>[DEPLOYMENT-NAME]-[RANDOM-STRING]</tt>. The random string is randomly generated and uses the <em>pod-template-hash</em> as a seed.</p>
0 commit comments