From 45d92f805f8bff8f0f5f6a56e1c2722fb2737979 Mon Sep 17 00:00:00 2001 From: Sam Hagan Date: Tue, 26 Sep 2017 19:47:42 -0700 Subject: [PATCH] fix name typo in reference to deployment example --- docs/concepts/workloads/controllers/deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.