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

KEP-2901: remove scheduler policy and cc v1beta1 #2921

Conversation

kerthcet
Copy link
Member

@kerthcet kerthcet commented Sep 1, 2021

Signed-off-by: kerthcet kerthcet@gmail.com

  • One-line PR description: Remove scheduler policy and mark scheduler ComponentConfig v1beta1 as deprecated

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 1, 2021
@k8s-ci-robot k8s-ci-robot added kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/scheduling Categorizes an issue or PR as relevant to SIG Scheduling. labels Sep 1, 2021
@kerthcet kerthcet changed the title KEP-2901: remove scheduler policy and mark cc v1beta1 as deprecated KEP-2901: remove scheduler policy and mark cc v1beta1 as deprecated Sep 1, 2021
@kerthcet
Copy link
Member Author

kerthcet commented Sep 1, 2021

@ahg-g @damemi

@kerthcet kerthcet force-pushed the feature/remove-scheduler-policy-config branch 2 times, most recently from 09aaab2 to f43bddb Compare September 1, 2021 05:52
- 2021-07-08: Introducing `v1beta2`.
- 2021-08-06: Introducing `v1beta3`.
Copy link
Member

Choose a reason for hiding this comment

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

add one more line:

  • 2021-09-01: remove v1beta1 and the legacy policy config API.

Copy link
Member Author

Choose a reason for hiding this comment

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

correct me if not, i thought we only plan to remind users about the v1beta1 deprecated policy, such as adding a warning log, or we want to remove the source code?

Copy link
Member

Choose a reason for hiding this comment

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

this is just a log of updates to this kep

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can safely remove v1beta1 based on when it was introduced (1.19), but v1beta2 has only existed as a replacement for 1 release, is that enough time for deprecation?

Copy link
Contributor

Choose a reason for hiding this comment

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

@ahg-g I think the question is in the wording for the log... 2021-09-21: remove v1beta1... vs 2021-09-21: mark v1beta1 deprecated

Copy link
Member Author

Choose a reason for hiding this comment

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

privide some messages, maybe not conformable. as deprecation policy says, Beta feature to EOL: 3 months or 1 release (whichever is longer), we introduced v1beta1 in release 1.19, more than 3 months or one release.

Copy link
Member

Choose a reason for hiding this comment

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

I think we want to remove it completely. We can do so and it is likely better to reduce clutter and the overhead of maintaining three beta versions.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated both places, section under introducing v1beta3 and implementation history.

Copy link
Member

Choose a reason for hiding this comment

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

+1 to remove v1beta1 when v1beta3 gets introduced. It's not that typical/necessary to keep 3+ APIs at the same time.

@kerthcet kerthcet force-pushed the feature/remove-scheduler-policy-config branch from f43bddb to 89fbeab Compare September 1, 2021 17:13
@kerthcet kerthcet changed the title KEP-2901: remove scheduler policy and mark cc v1beta1 as deprecated KEP-2901: remove scheduler policy and cc v1beta1 Sep 1, 2021
- 2021-07-08: Introducing `v1beta2`.
- 2021-08-06: Introducing `v1beta3`.
Copy link
Member

Choose a reason for hiding this comment

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

+1 to remove v1beta1 when v1beta3 gets introduced. It's not that typical/necessary to keep 3+ APIs at the same time.

Signed-off-by: kerthcet <kerthcet@gmail.com>
@kerthcet kerthcet force-pushed the feature/remove-scheduler-policy-config branch from 89fbeab to c000ab4 Compare September 1, 2021 17:39
@ahg-g
Copy link
Member

ahg-g commented Sep 2, 2021

/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 Sep 2, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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 Sep 2, 2021
@k8s-ci-robot k8s-ci-robot merged commit 49cd7f0 into kubernetes:master Sep 2, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.23 milestone Sep 2, 2021
@kerthcet kerthcet deleted the feature/remove-scheduler-policy-config branch September 2, 2021 16:11
@kerthcet
Copy link
Member Author

kerthcet commented Sep 2, 2021

I'll help to remove all these codes.

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/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/scheduling Categorizes an issue or PR as relevant to SIG Scheduling. 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.

None yet

5 participants