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

Graduate sysctls to GA #99158

Merged
merged 2 commits into from Feb 24, 2021
Merged

Graduate sysctls to GA #99158

merged 2 commits into from Feb 24, 2021

Conversation

wgahnagl
Copy link
Contributor

@wgahnagl wgahnagl commented Feb 17, 2021

What type of PR is this?

/ kind feature

What this PR does / why we need it:

graduates sysctls to GA

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

sysctls is now GA and locked to default

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

[KEP]: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/34-sysctl-fields#graduation  

@k8s-ci-robot k8s-ci-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/XS Denotes a PR that changes 0-9 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. labels Feb 17, 2021
@k8s-ci-robot
Copy link
Contributor

Welcome @wgahnagl!

It looks like this is your first PR to kubernetes/kubernetes 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/kubernetes has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @wgahnagl. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions 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/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Feb 17, 2021
@wgahnagl wgahnagl changed the title Graduating sysctls to GA Graduates sysctls to GA Feb 17, 2021
@wgahnagl wgahnagl changed the title Graduates sysctls to GA Graduates sysctls to GA Feb 17, 2021
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Feb 17, 2021
@wgahnagl wgahnagl changed the title Graduates sysctls to GA Graduate sysctls to GA Feb 17, 2021
@ehashman
Copy link
Member

/kind feature
/sig node
/ok-to-test
/priority important-soon
/triage accepted

@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. kind/feature Categorizes issue or PR as related to a new feature. sig/node Categorizes an issue or PR as relevant to SIG Node. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. 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-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 17, 2021
Copy link
Member

@ehashman ehashman left a comment

Choose a reason for hiding this comment

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

/lgtm

/hold
I think I'm a feature approver now, want to give node a chance to take a look

/assign @derekwaynecarr

@ehashman
Copy link
Member

/test pull-kubernetes-e2e-kind

@wgahnagl
Copy link
Contributor Author

/retest

@ehashman
Copy link
Member

This LGTM, the only real difference from #99263 is that PR removes the feature gates.

I don't understand why that wouldn't happen in the release where the feature gates actually get removed; otherwise, if for some reason we want to turn it back off the reverts would be very messy. What is the point of going through the step to lock the feature gate to true and not just remove it entirely if we're going to remove all the codepaths in advance of removal? cc @dims

Co-authored-by: Skyler Clark <wgahnagl@protonmail.com>
Copy link
Member

@ehashman ehashman left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 22, 2021
@ehashman ehashman moved this from Waiting on Author to Needs Approver in SIG Node PR Triage Feb 22, 2021
@pacoxu
Copy link
Member

pacoxu commented Feb 22, 2021

/lgtm
🎉 for your first PR

@pacoxu
Copy link
Member

pacoxu commented Feb 23, 2021

A small comment on PR description part, additional documentation for KEP link should be like https://github.com/kubernetes/kubernetes/blame/master/.github/PULL_REQUEST_TEMPLATE.md#L66

- [KEP]:  link

@mrunalp
Copy link
Contributor

mrunalp commented Feb 23, 2021

/approve

@ehashman
Copy link
Member

/assign @liggitt

@liggitt liggitt added this to Assigned in API Reviews Feb 23, 2021
@liggitt
Copy link
Member

liggitt commented Feb 24, 2021

/approve

for removal of locked GA feature gate checking in API helpers.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ehashman, liggitt, mrunalp, pacoxu, wgahnagl

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 Feb 24, 2021
@liggitt
Copy link
Member

liggitt commented Feb 24, 2021

What is the point of going through the step to lock the feature gate to true and not just remove it entirely if we're going to remove all the codepaths in advance of removal?

Feature gates are user-visible in the CLI invocation. Locking to true at GA lets us simplify the code while giving deployments that opted into the feature early and are explicitly enabling it time to adjust their invocations to drop the explicit enable.

https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-a-feature-or-behavior tried to describe this (but I acknowledge it is confusing):

Feature gates are intended to cover the development life cycle of a feature - they are not intended to be long-term APIs. As such, they are expected to be deprecated and removed after a feature becomes GA or is dropped.

As a feature moves through the stages, the associated feature gate evolves. The feature life cycle matched to its corresponding feature gate is:

  • Alpha: the feature gate is disabled by default and can be enabled by the user.
  • Beta: the feature gate is enabled by default and can be disabled by the user.
  • GA: the feature gate is deprecated (see "Deprecation") and becomes non-operational.
  • GA, deprecation window complete: the feature gate is removed and calls to it are no longer accepted.

@liggitt liggitt moved this from Assigned to API review completed, 1.21 in API Reviews Feb 24, 2021
@ehashman
Copy link
Member

/hold cancel

Thanks @liggitt ! @dims also put together kubernetes/community#5545

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 24, 2021
@k8s-ci-robot k8s-ci-robot merged commit 739a72b into kubernetes:master Feb 24, 2021
SIG Node PR Triage automation moved this from Needs Approver to Done Feb 24, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.21 milestone Feb 24, 2021
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. area/kubelet 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. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: API review completed, 1.21
Development

Successfully merging this pull request may close these issues.

None yet

7 participants