Skip to content

Commit

Permalink
Update deployment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Suhwan Cha authored May 16, 2019
1 parent caca9c6 commit 05f533a
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 05f533a

Please sign in to comment.