diff --git a/docs/concepts/workloads/controllers/deployment.md b/docs/concepts/workloads/controllers/deployment.md index 71379da9fa..862c190144 100644 --- a/docs/concepts/workloads/controllers/deployment.md +++ b/docs/concepts/workloads/controllers/deployment.md @@ -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.