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

Clarify node affinity API #38032

Merged
merged 3 commits into from
Nov 29, 2022
Merged

Conversation

alculquicondor
Copy link
Member

Fixes #31769

I don't think there was anything wrong with the existing wording, but it was confusing. It was not clear whether it was referring to the mentions of the field or the items within the field.

Also replace @bsalamat with @alculquicondor, as a SIG Scheduling TL

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 23, 2022
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Nov 23, 2022
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Nov 23, 2022
@netlify
Copy link

netlify bot commented Nov 23, 2022

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit ab629fa
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/637e87d041cafb0007b7b5e8
😎 Deploy Preview https://deploy-preview-38032--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment on lines 151 to 152
If you specify multiple expressions in `matchExpressions` associated with a single term in `nodeSelectorTerms`,
then the Pod can be scheduled onto a node only if all the expressions are satisfied.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
If you specify multiple expressions in `matchExpressions` associated with a single term in `nodeSelectorTerms`,
then the Pod can be scheduled onto a node only if all the expressions are satisfied.
If you specify multiple expressions in a single `matchExpressions` associated in a `nodeSelectorTerms`,
then the Pod can be scheduled onto a node only if _all_ the expressions are satisfied (expressions are ANDed).

Copy link
Member Author

Choose a reason for hiding this comment

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

added the word "field"

@alculquicondor
Copy link
Member Author

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Nov 23, 2022
@tengqm
Copy link
Contributor

tengqm commented Nov 23, 2022

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 23, 2022
@ahg-g
Copy link
Member

ahg-g commented Nov 29, 2022

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 29, 2022
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 8324ba0fe06ef6f794f83a3930bb9694b6c557e8

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahg-g, tengqm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 58d150d into kubernetes:main Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node Affinity NodeSelectorTerms description is wrong
5 participants