Skip to content
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

Update pod affinity/anti affinity doc to not include Gt and Lt operators. #4137

Closed
aveshagarwal opened this issue Jun 19, 2017 · 3 comments
Closed
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@aveshagarwal
Copy link
Member

aveshagarwal commented Jun 19, 2017

This is a...

  • [ x] Bug Report

Problem:
The doc https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity incorrectly specifies that "As with node affinity, the legal operators for pod affinity and anti-affinity are In, NotIn, Exists, DoesNotExist, Gt, Lt." As pod affinity/anti-affinity only works with regular label selectors: In, NotIn, Exists, DoesNotExist.

Proposed Solution:
Specify clearly that Gt and Lt does not work with pod affinit/anti-affinity

Page to Update:
https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity

@aveshagarwal
Copy link
Member Author

@kubernetes/sig-scheduling-bugs

@aveshagarwal
Copy link
Member Author

I will send a PR soon to address this unless someone else wants to help.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 5, 2018
@tengqm tengqm closed this as completed Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants