fix name typo in reference to deployment example
This commit is contained in:
committed by
Peter (XiangPeng) Zhao
parent
ed94d7351a
commit
45d92f805f
@@ -41,7 +41,7 @@ The following is an example of a Deployment. It creates a ReplicaSet to bring up
|
|||||||
|
|
||||||
In this example:
|
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 Deployment creates three replicated Pods, indicated by the `replicas` field.
|
||||||
* The Pod template's specification, or `template: spec` field, indicates that
|
* The Pod template's specification, or `template: spec` field, indicates that
|
||||||
the Pods run one container, `nginx`, which runs the `nginx`
|
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:** Do not change this label.
|
||||||
{: .note}
|
{: .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,
|
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.
|
and in any existing Pods that the ReplicaSet might have.
|
||||||
|
|||||||
Reference in New Issue
Block a user