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

kubelet remove deprecated flag --experimental-allocatable-ignore-eviction #122383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carlory
Copy link
Member

@carlory carlory commented Dec 19, 2023

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

The Kubelet's --experimental-allocatable-ignore-eviction option was marked as deprecated in 1.19. (#91578

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Removed the `--experimental-allocatable-ignore-eviction` command line argument to the kubelet.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Dec 19, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: carlory
Once this PR has been reviewed and has the lgtm label, please assign mrunalp for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 area/kubelet sig/node Categorizes an issue or PR as relevant to SIG Node. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Dec 19, 2023
@carlory
Copy link
Member Author

carlory commented Dec 19, 2023

/kind cleanup

@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Dec 19, 2023
@sftim
Copy link
Contributor

sftim commented Dec 20, 2023

/retitle kubelet remove deprecated flag --experimental-allocatable-ignore-eviction


Changelog suggestion

Removed the `--experimental-allocatable-ignore-eviction` command line argument to the kubelet.

@k8s-ci-robot k8s-ci-robot changed the title kubelet remove depredated flag --experimental-allocatable-ignore-eviction kubelet remove deprecated flag --experimental-allocatable-ignore-eviction Dec 20, 2023
@bart0sh bart0sh added this to Triage in SIG Node PR Triage Dec 20, 2023
@bart0sh
Copy link
Contributor

bart0sh commented Dec 25, 2023

/triage accepted
/priority important-longterm
/lgtm

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Dec 25, 2023
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 25, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: d88e5d1239e5039e95065c998d09146002da29cc

@bart0sh bart0sh moved this from Triage to Needs Approver in SIG Node PR Triage Dec 25, 2023
@carlory
Copy link
Member Author

carlory commented Dec 26, 2023

/assign @mrunalp

@carlory
Copy link
Member Author

carlory commented Jan 7, 2024

/cc @sjenning

can you take a look?

@kannon92
Copy link
Contributor

So I’ve see some interesting use cases with this cli and swap. The main things I’ve seen are when people want to use swap to avoid evictions. They found this flag helpful to turn off memory evictions.

I also saw a cli change in kops to use this “deprecated” cli.

I’m not sure if we should remove the cli argument.

@kannon92
Copy link
Contributor

kubernetes/kops#15821 For a recent example.

@carlory
Copy link
Member Author

carlory commented Jan 23, 2024

In addition to what you mentioned, @pacoxu also pointed out that the kubernetes/autoscale project also uses the flag in its test cases #108823 (comment).

IMO, any external project shouldn't depend on deprecated flags which maybe removed in a future release. There's a issue #86843 to track this, but it's closed due to inactivity. The --experimental-allocatable-ignore-eviction task is marked as done.

So, I want to ask if we can remove the flag in 1.30 release or have a plan to promote the flag to GA in the future release. Thanks.

/cc @pacoxu @savitharaghunathan @knabben

@carlory
Copy link
Member Author

carlory commented Jan 23, 2024

Friendly ping @tallclair, can you take a look at this PR? Is it time to remove the deprecated flag. I see this flag is mentioned by #122916

@knabben
Copy link
Member

knabben commented Jan 28, 2024

Friendly ping @tallclair, can you take a look at this PR? Is it time to remove the deprecated flag. I see this flag is mentioned by #122916

Per discussion in the issue let's wait for the final meeting outcome before proceeding with these changes.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 27, 2024
@carlory
Copy link
Member Author

carlory commented Apr 28, 2024

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubelet 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. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/node Categorizes an issue or PR as relevant to SIG Node. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: Needs Approver
SIG Node PR Triage
Needs Approver
Development

Successfully merging this pull request may close these issues.

None yet

8 participants