Improve signal handling in GardenerNodeLifecycleController#322
Conversation
So far ending the signal deployment/pod took more time than necessary because the sleep command was not handling the TERM signal properly. This change modifies the command to handle the TERM signal and exit gracefully, allowing for a faster shutdown of the container.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe signalling container's command in the Gardener node lifecycle controller's Deployment template was changed from running ChangesSignalling Deployment Command Update
Estimated code review effort: 1 (Trivial) | ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
So far ending the signal deployment/pod took more time than necessary
because the sleep command was not handling the TERM signal properly.
This change modifies the command to handle the TERM signal and exit
gracefully, allowing for a faster shutdown of the container.
Summary by CodeRabbit