-
Notifications
You must be signed in to change notification settings - Fork 64
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
Intro RFC More Option Selectors #591
base: main
Are you sure you want to change the base?
Conversation
✔️ Deploy Preview for elated-stonebraker-105904 canceled. 🔨 Explore the source changes: 8575656 🔍 Inspect the deploy log: https://app.netlify.com/sites/elated-stonebraker-105904/deploys/62017efc30e8a00007083325 |
bc42f90
to
bda2fef
Compare
# Motivation | ||
[motivation]: #motivation | ||
|
||
Users may find the MatchLabels syntax simpler than the MatchFields syntax. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Users may find the MatchLabels syntax simpler than the MatchFields syntax. | |
Users may find the MatchLabels syntax simpler than the MatchFields syntax. MatchLabels is a standard across all k8s objects that have selectors, and MatchExpressions is implemented for Pods and Jobs, meaning these selectors might be more familiar to users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both label and field selectors are widely used across k8s, but typically not combined into a single "selector". I broadly agree that because labels are fields, for this purpose a label selector may seem like syntactic sugar on top of a more generic field selector, but the historical uses are quite different.
Changes proposed by this PR
Introduces RFC: More Option Selectors
Readable
Release Note
PR Checklist
Note: Please do not remove items. Mark items as done
[x]
or usestrikethroughif you believe they are not relevant[ ] Linked to a relevant issue. Eg:Fixes #123
orUpdates #123
wip
commits[ ] Filled in the Release Note section above[ ] Modified the docs to match changes