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