Skip to content

Feat: add support sleep container lifecycle#2838

Open
akuzia wants to merge 2 commits intohashicorp:mainfrom
akuzia:feat-support-sleep-container-lifecycle
Open

Feat: add support sleep container lifecycle#2838
akuzia wants to merge 2 commits intohashicorp:mainfrom
akuzia:feat-support-sleep-container-lifecycle

Conversation

@akuzia
Copy link

@akuzia akuzia commented Feb 11, 2026

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

none

Description

This PR aims to provide missing implementation for sleep in lifecycle hooks.
https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-implementations

I'm not sure what resources need updated doc, so documentation might be changed as maintainers see fit

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Release Note

Release note for CHANGELOG:

added container lifecycle hook sleep handler support

References

#2837

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@akuzia akuzia requested a review from a team as a code owner February 11, 2026 21:02
@akuzia akuzia force-pushed the feat-support-sleep-container-lifecycle branch from a90de1c to db64727 Compare February 11, 2026 21:23
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Feb 11, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant