Skip to content

Commit

Permalink
Update deployment.md (#14345)
Browse files Browse the repository at this point in the history
  • Loading branch information
Suhwan Cha authored and k8s-ci-robot committed May 16, 2019
1 parent 38fcbeb commit b63bbe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b63bbe3

Please sign in to comment.