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

Move the eviction by inactivation mechanism from the jobframework reconciler to the workload controller #2131

Conversation

tenzen-y
Copy link
Member

@tenzen-y tenzen-y commented May 5, 2024

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

I moved the eviction by inactivation mechanism to the workload controller so that users can avoid re-implementing the same mechanism in the user's integrations controller without the jobframework reconciler.

Which issue(s) this PR fixes:

Fixes #1841

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

…onciler to the workload controller

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 5, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 5, 2024
Copy link

netlify bot commented May 5, 2024

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit 6cf3a98
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/663781d2f6701a0008dfbb1c
😎 Deploy Preview https://deploy-preview-2131--kubernetes-sigs-kueue.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 configuration.

Copy link
Contributor

@alculquicondor alculquicondor 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

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, tenzen-y

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
Copy link
Contributor

LGTM label has been added.

Git tree hash: c2975e1caa8b7422d3b483635ea7d92b6a66403e

@k8s-ci-robot k8s-ci-robot merged commit 1d5b682 into kubernetes-sigs:main May 6, 2024
15 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.7 milestone May 6, 2024
@tenzen-y tenzen-y deleted the move-wl-deactivation-to-wl-controller branch May 6, 2024 19:45
mbobrovskyi pushed a commit to epam/kubernetes-kueue that referenced this pull request May 19, 2024
…onciler to the workload controller (kubernetes-sigs#2131)

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

(cherry picked from commit 1d5b682)
mbobrovskyi pushed a commit to epam/kubernetes-kueue that referenced this pull request May 20, 2024
…onciler to the workload controller (kubernetes-sigs#2131)

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

(cherry picked from commit 1d5b682)
k8s-ci-robot pushed a commit that referenced this pull request May 20, 2024
…hanism from the (#2229)

* Move the eviction by inactivation mechanism from the jobframework reconciler to the workload controller

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Should update Evicted condition only when the Workload have not already got Eviction (#2172)

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
(cherry picked from commit 2b90363)

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Co-authored-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@alculquicondor
Copy link
Contributor

/release-note-edit

NONE

Not user-facing.

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels May 30, 2024
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/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move logic to evict on Workload deactivation to the Workload controller
3 participants