Merge pull request #49527 from dkarczmarski/fix-deployment-md

fix: typo in deployment.md
pull/49566/head
Kubernetes Prow Robot 2025-01-27 04:45:25 -08:00 committed by GitHub
commit 874c61d36c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -66,12 +66,12 @@ In this example:
All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match. All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match.
{{< /note >}} {{< /note >}}
* The `template` field contains the following sub-fields: * The `.spec.template` field contains the following sub-fields:
* The Pods are labeled `app: nginx`using the `.metadata.labels` field. * The Pods are labeled `app: nginx`using the `.metadata.labels` field.
* The Pod template's specification, or `.template.spec` field, indicates that * The Pod template's specification, or `.spec` field, indicates that
the Pods run one container, `nginx`, which runs the `nginx` the Pods run one container, `nginx`, which runs the `nginx`
[Docker Hub](https://hub.docker.com/) image at version 1.14.2. [Docker Hub](https://hub.docker.com/) image at version 1.14.2.
* Create one container and name it `nginx` using the `.spec.template.spec.containers[0].name` field. * Create one container and name it `nginx` using the `.spec.containers[0].name` field.
Before you begin, make sure your Kubernetes cluster is up and running. Before you begin, make sure your Kubernetes cluster is up and running.
Follow the steps given below to create the above Deployment: Follow the steps given below to create the above Deployment: