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

Exclude non-ready nodes from scheduling. #3413

Merged

Conversation

mszadkow
Copy link
Contributor

@mszadkow mszadkow commented Nov 1, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

Non-ready nodes are excluded by kube-scheduler so including them in TAS can be considered a bug - they will not be able to use in practice, and the pods will not schedule.

Which issue(s) this PR fixes:

Fixes #3401

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 1, 2024
@mszadkow
Copy link
Contributor Author

mszadkow commented Nov 1, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 1, 2024
Copy link

netlify bot commented Nov 1, 2024

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit dc4e2ef
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/6728d5092afe500008710587

@mszadkow
Copy link
Contributor Author

mszadkow commented Nov 1, 2024

/assign @mimowo

@mszadkow
Copy link
Contributor Author

mszadkow commented Nov 1, 2024

I am on the integration tests failure

@mszadkow mszadkow force-pushed the feature/tas-exclude-non-ready branch from bfdf1f8 to 275a18a Compare November 1, 2024 12:29
@mszadkow
Copy link
Contributor Author

mszadkow commented Nov 1, 2024

/retest

1 similar comment
@mszadkow
Copy link
Contributor Author

mszadkow commented Nov 1, 2024

/retest

pkg/cache/tas_flavor.go Outdated Show resolved Hide resolved
pkg/cache/tas_flavor.go Outdated Show resolved Hide resolved
pkg/cache/tas_flavor.go Outdated Show resolved Hide resolved
Copy link
Contributor

@mimowo mimowo left a comment

Choose a reason for hiding this comment

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

lgtm, just nits

pkg/cache/tas_flavor.go Outdated Show resolved Hide resolved
@mszadkow mszadkow force-pushed the feature/tas-exclude-non-ready branch from d230cc6 to b1ef2cc Compare November 4, 2024 13:23
@mszadkow
Copy link
Contributor Author

mszadkow commented Nov 4, 2024

/retest

@mszadkow mszadkow force-pushed the feature/tas-exclude-non-ready branch from b1ef2cc to dc4e2ef Compare November 4, 2024 14:07
@mbobrovskyi
Copy link
Contributor

/lgtm

Thanks!

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

LGTM label has been added.

Git tree hash: 87f227e692d7b95f36db54f6c27aea0f5bea86c1

Copy link
Contributor

@mimowo mimowo left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
I believe all comments are addressed

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mimowo, mszadkow

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 4, 2024
@k8s-ci-robot k8s-ci-robot merged commit dad65ef into kubernetes-sigs:main Nov 4, 2024
16 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.9 milestone Nov 4, 2024
@mbobrovskyi mbobrovskyi deleted the feature/tas-exclude-non-ready branch November 4, 2024 15:33
kannon92 pushed a commit to kannon92/kueue that referenced this pull request Dec 5, 2024
* Exclude non-ready nodes from scheduling.

* Update after code review

* Move TAS indexer to subpackage

* Use TAS indexer to filter out non ready nodes

* Update integration tests

* Update to match verify
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. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TAS: exclude non-ready nodes from scheduling
5 participants