-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add liveness and readiness probes for the ipfailover dc. #9215
Conversation
Debating whether you need a readiness probe. Do you expose ports? Is there any case where a service of ipfailover pods would be used to determine which nodes are ready? Are you using host network or pod network in ipfailover? |
So this came about on the mailing list because the Does it hurt to have it? To play devil's advocate here, the probes did feel a bit weird as its checking for the process (which if it was dead would have killed the container off anyway). I chalk that up to it being late last night and the meds kicking in! Though that said, I guess we could check the |
The warning may be too aggressive, at least if you don't plan to have I don't think readiness should be added unless we can detect when the VIP Liveness is valid if there's a way to ensure that the process is still On Jun 8, 2016, at 2:21 PM, Ram Ranganathan [email protected] So this came about on the mailing list because the oc status -v command Does it hurt to have it? To play devil's advocate here, the probes did feel — |
@smarterclayton changed to just the liveness probe + use keepalived as the process to really check. PTAL thx [test] |
LGTM, you've manually tested to verify it stays up (we don't have an integrated test for it yet)? |
Evaluated for origin test up to fec14fb |
@smarterclayton - yes manually verified that it stays up and also that it cleans up on termination (tested with |
[merge] On Wed, Jun 8, 2016 at 5:19 PM, Ram Ranganathan [email protected]
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/4629/) (Image: devenv-rhel7_4333) |
Evaluated for origin merge up to fec14fb |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/4629/) |
As per a message on the mailing list, fixing the warnings
oc status -v
shows for ipfailover.Add readiness and liveness probes.
@smarterclayton PTAL thx