Skip to content

Commit

Permalink
Update run-stateless-application-deployment.md
Browse files Browse the repository at this point in the history
Pod name is changed from pod, as per the documentation naming conventions.
  • Loading branch information
varadaprasanth committed Sep 15, 2020
1 parent a0d7a84 commit 42f23e7
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -80,7 +80,7 @@ a Deployment that runs the nginx:1.14.2 Docker image:
NewReplicaSet: nginx-deployment-1771418926 (2/2 replicas created)
No events.

1. List the pods created by the deployment:
1. List the Pods created by the deployment:

kubectl get pods -l app=nginx

Expand Down Expand Up @@ -113,17 +113,17 @@ specifies that the deployment should be updated to use nginx 1.16.1.

## Scaling the application by increasing the replica count

You can increase the number of pods in your Deployment by applying a new YAML
You can increase the number of Pods in your Deployment by applying a new YAML
file. This YAML file sets `replicas` to 4, which specifies that the Deployment
should have four pods:
should have four Pods:

{{< codenew file="application/deployment-scale.yaml" >}}

1. Apply the new YAML file:

kubectl apply -f https://k8s.io/examples/application/deployment-scale.yaml

1. Verify that the Deployment has four pods:
1. Verify that the Deployment has four Pods:

kubectl get pods -l app=nginx

Expand Down

0 comments on commit 42f23e7

Please sign in to comment.