Skip to content

Intro RFC More Option Selectors#591

Open
waciumawanjohi wants to merge 2 commits into
mainfrom
rfc-more-option-selectors
Open

Intro RFC More Option Selectors#591
waciumawanjohi wants to merge 2 commits into
mainfrom
rfc-more-option-selectors

Conversation

@waciumawanjohi

@waciumawanjohi waciumawanjohi commented Feb 4, 2022

Copy link
Copy Markdown
Contributor

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 use strikethrough if you believe they are not relevant

  • [ ] Linked to a relevant issue. Eg: Fixes #123 or Updates #123
  • Removed non-atomic or wip commits
  • [ ] Filled in the Release Note section above
  • [ ] Modified the docs to match changes

@netlify

netlify Bot commented Feb 4, 2022

Copy link
Copy Markdown

✔️ 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

@waciumawanjohi waciumawanjohi force-pushed the rfc-more-option-selectors branch from bc42f90 to bda2fef Compare February 4, 2022 22:35
Comment thread rfc/rfc-0000-more-option-selectors.md Outdated
Comment thread rfc/rfc-0000-more-option-selectors.md Outdated
# Motivation
[motivation]: #motivation

Users may find the MatchLabels syntax simpler than the MatchFields syntax.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Copy Markdown
Contributor

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.

@jwntrs jwntrs added the rfc Requests For Comment label Feb 19, 2022
@idoru idoru self-requested a review February 28, 2022 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rfc Requests For Comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants