Skip to content

Commit 874c61d

Browse files
authored
Merge pull request #49527 from dkarczmarski/fix-deployment-md
fix: typo in deployment.md
2 parents af0077f + 8bea986 commit 874c61d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/concepts/workloads/controllers/deployment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ In this example:
6666
All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match.
6767
{{< /note >}}
6868

69-
* The `template` field contains the following sub-fields:
69+
* The `.spec.template` field contains the following sub-fields:
7070
* The Pods are labeled `app: nginx`using the `.metadata.labels` field.
71-
* The Pod template's specification, or `.template.spec` field, indicates that
72-
the Pods run one container, `nginx`, which runs the `nginx`
73-
[Docker Hub](https://hub.docker.com/) image at version 1.14.2.
74-
* Create one container and name it `nginx` using the `.spec.template.spec.containers[0].name` field.
71+
* The Pod template's specification, or `.spec` field, indicates that
72+
the Pods run one container, `nginx`, which runs the `nginx`
73+
[Docker Hub](https://hub.docker.com/) image at version 1.14.2.
74+
* Create one container and name it `nginx` using the `.spec.containers[0].name` field.
7575

7676
Before you begin, make sure your Kubernetes cluster is up and running.
7777
Follow the steps given below to create the above Deployment:

0 commit comments

Comments
 (0)