Update deployment.md (#14345)

This commit is contained in:
Suhwan Cha
2019-05-16 20:53:41 +09:00
committed by Kubernetes Prow Robot
parent 38fcbeb49c
commit b63bbe396d
@@ -997,7 +997,7 @@ allowed, which is the default if not specified.
### Selector
`.spec.selector` is an optional field that specifies a [label selector](/docs/concepts/overview/working-with-objects/labels/)
`.spec.selector` is an required field that specifies a [label selector](/docs/concepts/overview/working-with-objects/labels/)
for the Pods targeted by this deployment.
`.spec.selector` must match `.spec.template.metadata.labels`, or it will be rejected by the API.