From cc0661a69e33341d780de9fb6ce86cb7bd96c512 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Mon, 25 Apr 2016 17:10:23 -0700 Subject: [PATCH] Address comments --- docs/user-guide/deployments.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/deployments.md b/docs/user-guide/deployments.md index e7f1442ebb..bb9a0e1264 100644 --- a/docs/user-guide/deployments.md +++ b/docs/user-guide/deployments.md @@ -441,8 +441,8 @@ to 1. `.spec.selector` is an optional field that specifies [label selectors](/docs/user-guide/labels/#label-selectors) for Pods targeted by this deployment. -If specified, the `.spec.template.metadata.labels` must be equal to the `.spec.selector`, or it will -be rejected by the API. If `.spec.selector` is unspecified, it will be defaulted to +If specified, `.spec.selector` must match `.spec.template.metadata.labels`, or it will +be rejected by the API. If `.spec.selector` is unspecified, `.spec.selector.matchLabels` will be defaulted to `.spec.template.metadata.labels`. Deployment kills some of these Pods, if their