Skip to content

Commit

Permalink
Merge pull request #1 from SupriyaSirbi/SupriyaSirbi-patch-1
Browse files Browse the repository at this point in the history
Update replicaset.md for Issue kubernetes#12205 with k8s.io/docs/concepts/workloads/controllers/replicaset/
  • Loading branch information
SupriyaSirbi committed Jan 24, 2019
2 parents 076efdf + 7cb971f commit 762081a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/docs/concepts/workloads/controllers/replicaset.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ created the other pods. Kubernetes does not stop you from doing this.
If you do end up with multiple controllers that have overlapping selectors, you
will have to manage the deletion yourself.

{{< note >}}
For 2 ReplicaSet specifying the same `.spec.selector` but different `.spec.template.metadata.labels` and `.spec.template.spec`, each ReplicaSet ignores the Pods created by another and controller creates the Replicas.
{{< /note >}}

### Labels on a ReplicaSet

The ReplicaSet can itself have labels (`.metadata.labels`). Typically, you
Expand Down

0 comments on commit 762081a

Please sign in to comment.