New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with k8s.io/docs/concepts/workloads/controllers/replicaset/ #12205
Comments
Hello, Could you please assign it to me? Thanks |
/assign @SupriyaSirbi |
@tengqm: GitHub didn't allow me to assign the following users: SupriyaSirbi. Note that only kubernetes members and repo collaborators can be assigned and that issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@SupriyaSirbi Cannot assign it to you because you are not a kubernetes member. However, you can still work on it and propose a PR. |
Thanks for your support. I shall work on the same and propose a PR |
Hello @tengqm and @erkanerol I am planning to update the docs with the following change. Please review and let me know if this is fine Original : Proposed Solution: |
I am not sure whether it should be stated in labels page or replicasets page. Since I have no holistic view of k8s documents, I cannot comment on it. However, I believe there should be a statement like yours somewhere. |
@erkanerol Thanks for your suggestion I came across the following the the replicaset page in "Pod Selector" section https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ Also you should not normally create any pods whose labels match this selector, either directly, with another ReplicaSet, or with another controller such as a Deployment. If you do so, the ReplicaSet thinks that it 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. This internally means that the replicasets ignore a pod if it belongs someone else? Should i just add a statement here like this after the bold statement as In this case , the controller can ignore a pod if it belongs someone else i.e having different metadata and spec fields in the namespace and create the replicas. |
…s/replicaset/ This pull request is for Issue kubernetes#12205 which updates the replicaset.md file When ReplicaSets have the same label selectors but different metadata, the Replicas are created by controller because each Replicaset ignores the Pods created by another.
Update replicaset.md for Issue kubernetes#12205 with k8s.io/docs/concepts/workloads/controllers/replicaset/
Hello @tengqm I am not finding any reviewers for this issue.. This issue is open since last week. Could you please suggest any reviewers for the same? |
@SupriyaSirbi Since you have already assigned some reviewers, let's wait and see if we can get some comments. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@SupriyaSirbi I checked the doc. It seems fine. Thanks a lot! |
This is a...
Problem:
It seems replicasets use ownerReferences and they ignore the other's pod even the labels match their selector. There is nothing in the documentation regarding this.
Here is a stackoverflow issue:
https://stackoverflow.com/questions/54172198/why-dont-two-kubernetes-replicasets-with-same-selector-conflict-with-each-other/54172659#54172659
Proposed Solution:
Please state that replicasets ignore a pod if it belongs someone else.
Page to Update:
https://kubernetes.io/...
The text was updated successfully, but these errors were encountered: