-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
K8s: Improve Node checks for liveness probe and preStop hook #2661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
CI Feedback 🧐(Feedback updated until commit 8e454ba)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist
PR Type
Enhancement, Bug fix
Description
Improved handling of Node liveness probe and preStop hook in Kubernetes.
Enhanced error handling and logging for Node and Hub/Router interactions.
Added session count checks and retry mechanisms for Node termination readiness.
Refined environment variable usage and HTTP response handling in scripts.
Changes walkthrough 📝
nodePreStop.sh
Enhance Node preStop script for better error handling
charts/selenium-grid/configs/node/nodePreStop.sh
Hub/Router.
readiness.
drain logic.
nodeProbe.sh
Improve Node probe script for robustness
charts/selenium-grid/configs/node/nodeProbe.sh
unreachable.