Skip to content

KEP-3960: promote to beta in 1.30#4367

Merged
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
AxeZhan:beta3960
Feb 2, 2024
Merged

KEP-3960: promote to beta in 1.30#4367
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
AxeZhan:beta3960

Conversation

@AxeZhan

@AxeZhan AxeZhan commented Dec 20, 2023

Copy link
Copy Markdown
Member
  • One-line PR description:
    Promote KEP-3960 to beta in 1.30
  • Other comments:

Works will be done for beta

  1. Add additional e2e test cases.
  2. Add one metric

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 20, 2023
@k8s-ci-robot k8s-ci-robot added the kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory label Dec 20, 2023
@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 20, 2023
@AxeZhan

AxeZhan commented Dec 20, 2023

Copy link
Copy Markdown
Member Author

/cc @thockin

@k8s-ci-robot k8s-ci-robot requested a review from thockin December 20, 2023 07:11
@wojtek-t wojtek-t self-assigned this Dec 20, 2023
@AxeZhan

AxeZhan commented Dec 22, 2023

Copy link
Copy Markdown
Member Author

And a draft code in k/k: kubernetes/kubernetes#122456

@AxeZhan

AxeZhan commented Jan 10, 2024

Copy link
Copy Markdown
Member Author

kindly ping @thockin

Comment thread keps/sig-node/3960-pod-lifecycle-sleep-action/README.md

@thockin thockin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@kannon92 has one open

/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 Jan 24, 2024
@thockin thockin added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 24, 2024
@thockin thockin added this to the v1.30 milestone Jan 24, 2024
Comment thread keps/sig-node/3960-pod-lifecycle-sleep-action/README.md Outdated
Comment thread keps/sig-node/3960-pod-lifecycle-sleep-action/README.md
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 26, 2024
@k8s-ci-robot k8s-ci-robot requested a review from thockin January 26, 2024 03:37
@thockin

thockin commented Jan 30, 2024

Copy link
Copy Markdown
Member

I am good with it - @kannon92 ?

/lgtm
/hold
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 30, 2024
@thockin

thockin commented Jan 30, 2024

Copy link
Copy Markdown
Member

Oh, right - this being sig-node I can't approve anyway.

@SergeyKanzhelev @dchen1107 @mrunalp @derekwaynecarr

@kannon92

kannon92 commented Jan 30, 2024

Copy link
Copy Markdown
Contributor

@AxeZhan please look over your PRR review. I think you are missing some forms. But otherwise, this LGTM.

https://github.com/kubernetes/enhancements/blob/d0ec30c033c580417984b14483d368879c2013c9/keps/sig-node/3960-pod-lifecycle-sleep-action/README.md#rollout-upgrade-and-rollback-planning

@kannon92

Copy link
Copy Markdown
Contributor

/lgtm

/assign @mrunalp @SergeyKanzhelev @dchen1107 @klueska

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 30, 2024
@wojtek-t

Copy link
Copy Markdown
Member

@wojtek-t Can you take a look at PRR? Since you reviewed PRR for this KEP in alpha, and there are only minor changes in beta.

yes - will review later this week

@AxeZhan

AxeZhan commented Jan 31, 2024

Copy link
Copy Markdown
Member Author

Comment thread keps/sig-node/3960-pod-lifecycle-sleep-action/README.md

@wojtek-t wojtek-t left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just one small comment - other than that LGTM

Comment thread keps/sig-node/3960-pod-lifecycle-sleep-action/README.md
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 2, 2024
Added in alpha:
Unit tests in `k8s.io/kubernetes/pkg/apis/core/validation_test` test the verification with feature-gate enabled.
The verification with feature-gate disabled is tested manually as it's hard to trigger `PrepareForCreate` strategy in unit tests.
E2e tests in `test/e2e/common/node/lifecycle_hook.go` test the behavior with feature-gate enabled.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copying from the KEP template:

Additionally, for features that are introducing a new API field, unit tests that
are exercising the `switch` of feature gate itself (what happens if I disable a
feature gate after having objects written with the new field) are also critical.
You can take a look at one potential example of such test in:
https://github.com/kubernetes/kubernetes/pull/97058/files#diff-7826f7adbc1996a05ab52e3f5f02429e94b68ce6bce0dc534d1be636154fded3R246-R282

I'm actually more interested in sth like that - this question is not about testing the feature itself (testing code with FG enabled), but rather testing the transition between enabled and disabled (and vice versa).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

... Yea, I think we need a test like this for this feature. But I clearly misunderstood this and missed this in alpha🤦.
I'll bring this test in beta, I added some cases in Unit tests for beta.

@AxeZhan AxeZhan force-pushed the beta3960 branch 2 times, most recently from cb25915 to 61ffb47 Compare February 2, 2024 08:57
@wojtek-t

wojtek-t commented Feb 2, 2024

Copy link
Copy Markdown
Member

Thanks!

/lgtm
/approve PRR

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 2, 2024
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AxeZhan, mrunalp, thockin, wojtek-t

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 2, 2024
@AxeZhan

AxeZhan commented Feb 2, 2024

Copy link
Copy Markdown
Member Author

/hold cancel

@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 2, 2024
@k8s-ci-robot k8s-ci-robot merged commit c80d6b2 into kubernetes:master Feb 2, 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/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/node Categorizes an issue or PR as relevant to SIG Node. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

Development

Successfully merging this pull request may close these issues.

10 participants