-
Notifications
You must be signed in to change notification settings - Fork 206
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
Issue 91: PrestopHook configured for zookeeper cluster always fails #186
Conversation
Signed-off-by: anisha.kj <anisha.kj@dell.com>
Codecov Report
@@ Coverage Diff @@
## master #186 +/- ##
=======================================
Coverage 53.38% 53.38%
=======================================
Files 7 7
Lines 1107 1107
=======================================
Hits 591 591
Misses 468 468
Partials 48 48
Continue to review full report at Codecov.
|
Signed-off-by: anisha.kj <anisha.kj@dell.com>
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ravega#186) * Fixed prestop failure in teardown script Signed-off-by: anisha.kj <anisha.kj@dell.com> * added break in for loop Signed-off-by: anisha.kj <anisha.kj@dell.com>
… fails (pravega#186)" This reverts commit d502a60.
… fails (pravega#186)" This reverts commit d502a60.
…r always fails (pravega#186)"" This reverts commit 0fd66ea.
…dards (#184) * prefixing service ports with tcp to comply with istio standards * Revert "Issue 91: PrestopHook configured for zookeeper cluster always fails (#186)" This reverts commit d502a60. * Revert "Revert "Issue 91: PrestopHook configured for zookeeper cluster always fails (#186)"" This reverts commit 0fd66ea.
Signed-off-by: anisha.kj anisha.kj@dell.com
Change log description
Default Termination grace period was set to 30s, and in tearDown.sh we were waiting for 180s for client connection to terminate. Due to this after grace period is over, kubernetes is sending SIGKILL due to that we were getting
137
error code. (https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods)Purpose of the change
Fixes #91
What the code does
Increased default termination grace period to 180s. In teardown script, corrected the loop for waiting for client connection. Also installed
ps
in container, as zookeeper-3.5.5 doesnt have it.How to verify it
Verified the following scenarios