From 7e1a07d4f1d863c3be3af11c0685e392b4c08dd0 Mon Sep 17 00:00:00 2001 From: Supriya Sirbi Date: Sat, 16 Feb 2019 18:20:03 +0530 Subject: [PATCH] Patch 2 - Update Replicaset.md (#12650) --- content/en/docs/concepts/workloads/controllers/replicaset.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/docs/concepts/workloads/controllers/replicaset.md b/content/en/docs/concepts/workloads/controllers/replicaset.md index adeaadc469..9ca82477fe 100644 --- a/content/en/docs/concepts/workloads/controllers/replicaset.md +++ b/content/en/docs/concepts/workloads/controllers/replicaset.md @@ -239,6 +239,10 @@ matchLabels: In the ReplicaSet, `.spec.template.metadata.labels` must match `spec.selector`, or it will be rejected by the API. +{{< note >}} +For 2 ReplicaSets specifying the same `.spec.selector` but different `.spec.template.metadata.labels` and `.spec.template.spec` fields, each ReplicaSet ignores the Pods created by the other ReplicaSet. +{{< /note >}} + ### Replicas You can specify how many Pods should run concurrently by setting `.spec.replicas`. The ReplicaSet will create/delete