Skip to content
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

Relax the timeout values used for liveness/readniess probes #192

Merged
merged 1 commit into from
Mar 22, 2018

Conversation

ziru
Copy link
Contributor

@ziru ziru commented Mar 21, 2018

No description provided.

@ziru ziru requested review from bjacobso and iamsaso March 21, 2018 05:58
@@ -615,7 +615,7 @@ func (x *KubeDeploy) doDeploy(e agent.Event) error {
PeriodSeconds: 10,
SuccessThreshold: 1,
FailureThreshold: 3,
TimeoutSeconds: 1,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 sec timeout can be a bit too stringent for all services, and sometimes cause unnecessary restarts.

Not sure whether it is ok to expose such threshold value via codeflow UI. Ideally, services should be able to override such default settings.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3s sounds good to me. Just curious are you seeing any issues related to timeouts?

@ziru ziru merged commit d0b1c67 into master Mar 22, 2018
@ziru ziru deleted the ziru/relax-probe-timeouts branch March 22, 2018 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants