Remove deprecated flag scale-down-enabled#9412
Remove deprecated flag scale-down-enabled#9412k8s-ci-robot merged 3 commits intokubernetes:masterfrom
Conversation
|
Hi @YahiaBadr. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
x13n
left a comment
There was a problem hiding this comment.
I see the flag was deprecated recently - while I agree we should remove it, what's the timeline? Won't both marking as deprecated and actual removal land in the same minor (1.36)?
|
|
||
| if a.ScaleDownEnabled { | ||
| unneededStart := time.Now() | ||
| unneededStart := time.Now() |
There was a problem hiding this comment.
Since you're changing this anyway, could you factor out scale down logic to a separate function?
|
@x13n The deprecation PR was created in January #9056 and was cherry picked to 1.35 #9060. I am not quite familiar with the deprecation policy, so please let me know if 2 months is not enough period alongside having deprecation in 1.35. If we have to wait I can then close the PR and wait for more time before removing the flag entirely. |
|
Ah, you're right, I see it was deprecated in CA 1.35.0. Removing now so it doesn't exist in 1.36.0 seems reasonable. |
|
/ok-to-test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: x13n, YahiaBadr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
/kind deprecation
What this PR does / why we need it:
Cleanup the deprecated flag scale-down-enabled
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: