Skip to content

Commit

Permalink
Update content/en/docs/tutorials/kubernetes-basics/scale/scale-intro.…
Browse files Browse the repository at this point in the history
…html

Co-authored-by: Anuj Tiwari <aj11anuj123@gmail.com>
  • Loading branch information
javadebadi and aj11anuj committed Apr 1, 2024
1 parent fde9de4 commit fd7c1c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ <h3>Scaling an application</h3>
<p><em>Scaling</em> is accomplished by changing the number of replicas in a Deployment</p>
<p><b>NOTE</b> If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section </a>, then you may have deleted the service you created or the type of the node you have created is NodePort.
In this section, it is assumed that a service with type LoadBalancer is created for the kubernetes-bootcamp deployment.</p>
<p>If you have not deleted the service created in <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro">the previous section</a>. Then, first delete the service and then run the following command to create a service of type LoadBalancer.</p>
<p>If you have not deleted the service created in <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro">the previous section</a>.
Then, first delete the service and then run the following command to create a service of type LoadBalancer.</p>
<p><code><b>kubectl expose deployment/kubernetes-bootcamp --type="LoadBalancer" --port 8080</b></code></p>
<br />
</div>
Expand Down

0 comments on commit fd7c1c6

Please sign in to comment.