-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pod crashes due to empty NODE_ID in pre-stop-hook (#7892)
This fix prevents pods from crashing in a loop during shutdown. - Ensure NODE_ID is correctly retrieved to prevent malformed shutdown API requests. - Clean up the script using shellcheck, replacing tabs with spaces for readability. - Reduce retry attempts to 8 to avoid exceeding terminationGracePeriodSeconds.
- Loading branch information
Showing
1 changed file
with
45 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters