fix name typo in reference to deployment example

pull/5646/merge
Sam Hagan 2017-09-26 19:47:42 -07:00 committed by Peter (XiangPeng) Zhao
parent ed94d7351a
commit 45d92f805f
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ The following is an example of a Deployment. It creates a ReplicaSet to bring up
In this example:
* A Deployment named `nginx` is created, indicated by the `metadata: name` field.
* A Deployment named `nginx-deployment` is created, indicated by the `metadata: name` field.
* The Deployment creates three replicated Pods, indicated by the `replicas` field.
* The Pod template's specification, or `template: spec` field, indicates that
the Pods run one container, `nginx`, which runs the `nginx`
@ -137,7 +137,7 @@ The created ReplicaSet ensures that there are three `nginx` Pods running at all
**Note:** Do not change this label.
{: .note}
The `pod-template-hash label` is added by the Deployment controller to every ReplicaSet that a Deployment creates or adopts.
The `pod-template-hash label` is added by the Deployment controller to every ReplicaSet that a Deployment creates or adopts.
This label ensures that child ReplicaSets of a Deployment do not overlap. It is generated by hashing the `PodTemplate` of the ReplicaSet and using the resulting hash as the label value that is added to the ReplicaSet selector, Pod template labels,
and in any existing Pods that the ReplicaSet might have.