From 05f533a3a68b7653306cb04122ec97a2f29db8f5 Mon Sep 17 00:00:00 2001 From: Suhwan Cha Date: Thu, 16 May 2019 15:09:39 +0900 Subject: [PATCH] Update deployment.md --- content/en/docs/concepts/workloads/controllers/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/workloads/controllers/deployment.md b/content/en/docs/concepts/workloads/controllers/deployment.md index dfd921f23aaa1..2eb14ea94cf3b 100644 --- a/content/en/docs/concepts/workloads/controllers/deployment.md +++ b/content/en/docs/concepts/workloads/controllers/deployment.md @@ -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.