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

Enhance app-frontend probes #239

Merged
merged 1 commit into from
Oct 27, 2017
Merged

Conversation

fbladilo
Copy link
Contributor

@fbladilo fbladilo commented Oct 25, 2017

  • Reconfigure liveness probe to use PID check of MIQ server process
  • Reconfigure readiness probe to use TCP check on port 80 instead of HTTP code check
  • Initial probe delays were not modified

The PID check is more effective, specially on initial deployments, liveness will succeed as long as MIQ Server is alive, this would prevent OpenShift from killing/restarting the pod unnecessarily when MIQ server is actually in the final stages of seeding and about to come up.

The initial delays for each probe were kept intact, these are heavily dependent on the performance of cluster nodes assigned for a MIQ deployment. Currently 3 mins for readiness and 8 mins for liveness.

- Reconfigure liveness probe to use PID check of MIQ server process
- Reconfigure readiness probe to use TCP check on port 80 instead of HTTP code check
- Initial probe delays were not modified
@fbladilo fbladilo requested review from carbonin and bdunne October 25, 2017 20:07
@miq-bot
Copy link
Member

miq-bot commented Oct 25, 2017

Checked commit fbladilo@b1cf5de with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 👍

Copy link
Member

@bdunne bdunne left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@bdunne bdunne merged commit 760020a into ManageIQ:master Oct 27, 2017
@bdunne bdunne added the fine/no label Oct 27, 2017
@bdunne bdunne self-assigned this Oct 27, 2017
@bdunne bdunne added this to the Sprint 72 Ending Oct 30, 2017 milestone Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants