enhancements icon indicating copy to clipboard operation
enhancements copied to clipboard

Introducing Sleep Action for PreStop Hook

Open AxeZhan opened this issue 1 year ago โ€ข 78 comments

Enhancement Description

  • One-line enhancement description (can be used as a release note): Add Sleep Action for PreStop Hook
  • Kubernetes Enhancement Proposal: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/3960-pod-lifecycle-sleep-action/
  • Discussion Link:
  • Primary contact (assignee): @AxeZhan @charles-chenzz
  • Responsible SIGs: sig-node
  • Enhancement target (which target equals to which milestone):
    • Alpha release target (x.y): 1.29
    • Beta release target (x.y): 1.30
    • Stable release target (x.y): 1.32
  • [x] Alpha
    • [x] KEP (k/enhancements) update PR(s): #3961
    • [x] Code (k/k) update PR(s): https://github.com/kubernetes/kubernetes/pull/119026
    • [x] Docs (k/website) update PR(s):https://github.com/kubernetes/website/pull/43428
  • [x] Beta
    • [x] KEP (k/enhancements) update PR(s): #4367
    • [x] Code (k/k) update PR(s): https://github.com/kubernetes/kubernetes/pull/122456
    • [x] Docs (k/website) update(s): https://github.com/kubernetes/website/pull/45129
  • [ ] Stable
    • [x] KEP (k/enhancements) update PR(s): https://github.com/kubernetes/enhancements/pull/4866
    • [ ] Code (k/k) update PR(s): https://github.com/kubernetes/kubernetes/pull/128046
    • [ ] Docs (k/website) update(s): https://github.com/kubernetes/website/pull/48295

Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.

AxeZhan avatar Apr 22 '23 09:04 AxeZhan

/sig node

AxeZhan avatar Apr 22 '23 09:04 AxeZhan

/cc @thockin

AxeZhan avatar Apr 22 '23 09:04 AxeZhan

/milestone v1.28

adding to the milestone for tracking

SergeyKanzhelev avatar May 05 '23 20:05 SergeyKanzhelev

Hello @AxeZhan ๐Ÿ‘‹, Enhancements team here.

Just checking in as we approach Enhancements freeze on Thursday, 16th June 2023.

This enhancement is targeting for stage alpha for 1.28 (correct me, if otherwise)

Here's where this enhancement currently stands:

  • [X] KEP readme using the latest template has been merged into the k/enhancements repo.
  • [ ] KEP status is marked as implementable for latest-milestone: 1.28
  • [X] KEP readme has a updated detailed test plan section filled out
  • [X] KEP readme has up to date graduation criteria
  • [ ] KEP has a production readiness review that has been completed and merged into k/enhancements.

For this KEP, we would need to update the following:

  • Add approver/s to prod-readiness yaml file
  • Change the status of the KEP to implementable
  • Get approval from the PRR authors

The status of this enhancement is marked as at risk. Please keep the issue description up-to-date with appropriate stages as well. Thank you!

Atharva-Shinde avatar Jun 05 '23 19:06 Atharva-Shinde

/stage alpha

Atharva-Shinde avatar Jun 05 '23 19:06 Atharva-Shinde

Hey @AxeZhan, We would just need to update the status inside kep.yaml to implementable instead of provisional as mentioned in my comment above. Please make the change within 24 hours else you would have to file an exception request. Thanks :)

Atharva-Shinde avatar Jun 16 '23 01:06 Atharva-Shinde

this should be updated now. Since there were no material change, can we get it tracked for 1.28?

SergeyKanzhelev avatar Jun 16 '23 21:06 SergeyKanzhelev

With all the KEP requirements in place and merged into k/enhancements, the status of this enhancement is now marked as tracked. Please keep the issue description up-to-date with appropriate stages as well. Thank you :)

Atharva-Shinde avatar Jun 17 '23 02:06 Atharva-Shinde

Hey @AxeZhan

1.28 Docs Shadow here.

Does this enhancement work planned for 1.28 require any new docs or modification to existing docs?

If so, please follows the steps here to open a PR against dev-1.28 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Thursday 20th July 2023.

Also, take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release.

Thank you!

AdminTurnedDevOps avatar Jun 21 '23 17:06 AdminTurnedDevOps

hi @AdminTurnedDevOps , we currently working on the implement in k/k repos, when we finish it, we will start to add docs. Thanks.

charles-chenzz avatar Jun 22 '23 08:06 charles-chenzz

Hey @AdminTurnedDevOps Thank you for your remind!

Does this enhancement work planned for 1.28 require any new docs or modification to existing docs?

This definitely needs some new docs :) I've created a draft pr for place holder, and have updated the link in the Description above, we'll get back to finish the detail after the code changes are done. We are not very familiar with updating the documentation, so we may need some assistance from your team when the time comes. Thank you in advance!

AxeZhan avatar Jun 22 '23 09:06 AxeZhan

Hi all, I've created https://github.com/kubernetes/kubernetes/pull/119026 for some discussion(because I'm not certain of some implementations/e2e tests), I'd be super glad if some of you can have a look and give me a help๐Ÿ˜Šใ€‚

AxeZhan avatar Jul 06 '23 02:07 AxeZhan

Hey again @AxeZhan :wave:

Just checking in as we approach Code freeze at 01:00 UTC Friday, 19th July 2023 .

Hereโ€™s the enhancementโ€™s state for the upcoming code freeze:

  • [X] All the PRs that are related to your enhancement are linked in the above issue description (for tracking purposes). This includes code, tests, and documentation related PR/s.
  • [ ] All code related PR/s are merged or are in merge-ready state ( i.e they have approved and lgtm labels applied) by the code freeze deadline. This includes any tests related PR/s too.

For this enhancement, it looks like the following code related PR/s are open and they need to be merged or should be in merge-ready state before the code freeze commences :

  • https://github.com/kubernetes/kubernetes/pull/119026

This is the code related PR/s that I found on this KEP issue

  • https://github.com/kubernetes/kubernetes/pull/119026

Please keep the issue description up-to-date with all the PR/s that are associated with this KEP and let me know if there are other PR/s in k/k we should be tracking for this KEP.

As always, we are here to help if any questions come up. Thanks!

Atharva-Shinde avatar Jul 15 '23 17:07 Atharva-Shinde

Hello @AxeZhan ๐Ÿ‘‹, 1.28 Enhancements Lead here.

Unfortunately, the implementation (code related) PR associated with this enhancement is not in the merge-ready state by code-freeze and hence this enhancement is now removed from the v1.28 milestone.

If you still wish to progress this enhancement in v1.28, please file an exception request. Thanks!

/milestone clear

Atharva-Shinde avatar Jul 19 '23 04:07 Atharva-Shinde

@thockin Should we postpone this one?

AxeZhan avatar Jul 19 '23 04:07 AxeZhan

Sorry, I was out today - I swear I approved this, did nobody from node give final review?

I don't think this is "urgent", so no exception is warranted, IMO.

On Tue, Jul 18, 2023, 9:33 PM Sheng Zhan @.***> wrote:

@thockin https://github.com/thockin Should we postpone this one?

โ€” Reply to this email directly, view it on GitHub https://github.com/kubernetes/enhancements/issues/3960#issuecomment-1641396082, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKWAVEYB5PVPWCRRLIUDDLXQ5PRTANCNFSM6AAAAAAXHWZB7U . You are receiving this because you were mentioned.Message ID: @.***>

thockin avatar Jul 19 '23 05:07 thockin

did nobody from node give final review?

Yes ๐Ÿ˜‚. Guess we'll postpone this to 1.29 now.

AxeZhan avatar Jul 19 '23 06:07 AxeZhan

The PR seems in healthy progress and we hopefully can see this feature in v1.29. Would you update the KEP for the version?

pacoxu avatar Sep 04 '23 08:09 pacoxu

The PR seems in healthy progress and we hopefully can see this feature in v1.29. Would you update the KEP for the version?

created https://github.com/kubernetes/enhancements/pull/4182

AxeZhan avatar Sep 05 '23 11:09 AxeZhan

/cc

gjkim42 avatar Sep 12 '23 04:09 gjkim42

/milestone v1.29

SergeyKanzhelev avatar Sep 15 '23 20:09 SergeyKanzhelev

Hello @AxeZhan ๐Ÿ‘‹, Enhancements team here.

Just checking in as we approach enhancements freeze on Friday, 6th October 2023.

This enhancement is targeting for stage alpha for 1.29 (correct me, if otherwise)

Here's where this enhancement currently stands:

  • [x] KEP readme using the latest template has been merged into the k/enhancements repo.
  • [x] KEP status is marked as implementable for latest-milestone: 1.29.
  • [x] KEP has a production readiness review that has been completed and merged into k/enhancements. (For more information on the PRR process, check here).

The status of this enhancement is marked as tracked for enhancement freeze. Please keep the issue description up-to-date with appropriate stages as well. Thank you!

salehsedghpour avatar Sep 20 '23 20:09 salehsedghpour

Hello @AxeZhan :wave:, v1.29 Docs Shadow here. Does this enhancement work planned for v1.29 require any new docs or modification to existing docs? If so, please follows the steps here to open a PR against dev-1.29 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Thursday, 19 October 2023. Also, take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release. Thank you!

drewhagen avatar Oct 10 '23 22:10 drewhagen

Hi @AxeZhan! The deadline to open a placeholder PR against k/website for required documentation is Thursday, 19 October. Could you please update me on the status of docs for this enhancement?

Is this is the correct placeholder PR? https://github.com/kubernetes/website/pull/43428

Let me know, thank you!

drewhagen avatar Oct 17 '23 17:10 drewhagen

Hi @AxeZhan! The deadline to open a placeholder PR against k/website for required documentation is Thursday, 19 October. Could you please update me on the status of docs for this enhancement?

@drewhagen Sry... I opened the pr for k/website before and I forgot to update the description in this pr. Updated.

Is this is the correct placeholder PR? https://github.com/kubernetes/website/pull/43428

Yes!

AxeZhan avatar Oct 18 '23 02:10 AxeZhan

Hey again @AxeZhan ๐Ÿ‘‹ Enhancements team here,

Just checking in as we approach code freeze at 01:00 UTC Wednesday 1st November.

Here's where this enhancement currently stands:

  • [x] All PRs to the Kubernetes repo that are related to your enhancement are linked in the above issue description (for tracking purposes).
  • [x] All PR/s are ready to be merged (they have approved and lgtm labels applied) by the code freeze deadline. This includes tests.

With all this, the status of this KEP is now tracked for the code freeze.

Also, please let me know if there are other PRs in k/k we should be tracking for this KEP. As always, we are here to help if any questions come up. Thanks!

salehsedghpour avatar Oct 22 '23 15:10 salehsedghpour

Also, please let me know if there are other PRs in k/k we should be tracking for this KEP. As always, we are here to help if any questions come up. Thanks!

@salehsedghpour There's no other PRs for this kep in this release cycle. Thanks!

AxeZhan avatar Oct 23 '23 03:10 AxeZhan

Hi @AxeZhan, ๐Ÿ‘‹ from the v1.29 Release Team-Communications! We would like to check if you have any plans to publish a blog for this KEP regarding new features, removals, and deprecations for this release.

If so, you need to open a PR placeholder in the website repository. The deadline will be on Tuesday 14th November 2023 (after the Docs deadline PR ready for review)

Here is the 1.29 calendar

a-mccarthy avatar Oct 23 '23 14:10 a-mccarthy

/remove-label lead-opted-in

salehsedghpour avatar Jan 06 '24 16:01 salehsedghpour

Hello ๐Ÿ‘‹ 1.30 Enhancements Lead here,

I'm closing milestone 1.29 now, If you wish to progress this enhancement in v1.30, please follow the instructions here to opt in the enhancement and make sure the lead-opted-in label is set so it can get added to the tracking board and finally add /milestone v1.30. Thanks!

/milestone clear

salehsedghpour avatar Jan 16 '24 23:01 salehsedghpour