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

[designate] Use tcpSocket check as liveness check instead of /healthcheck #7336

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

s10
Copy link
Contributor

@s10 s10 commented Nov 1, 2024

Designate API /healthcheck might not respond under heavy POST load or respond with a significant timeout.
So we need a less complicated liveness check, that could be:

  • apache2-specific /server-status?auto endpoint
  • simple TCP socket check

In this PR simple tcpSocket check is being used.

Additionally:

  • Add server-status configuration with limited ACL
  • Increase cpu limits for API service: it's being throttled under locust
  • Increase the number of designate-central services, as it's a bottleneck

…heck

Designate API /healthcheck might not to respond under heavy POST load
or respond with a significant timeout.
So we need a less complicated liveness check, that could be:
* apache2-specific /server-status?auto endpoint
* simple TCP socket check

In this PR simple tcpSocket check is being used.
* Increase cpu limits for API service: it's being throttled under locust
* Increase number of designate-central services, as it's a bottleneck
@s10 s10 force-pushed the C5384329/designate-liveness branch from 677cb2f to 3089928 Compare November 4, 2024 09:31
Copy link
Member

@galkindmitrii galkindmitrii left a comment

Choose a reason for hiding this comment

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

lgtm, readiness we keep as it is for now

@s10 s10 merged commit 55d88ff into master Nov 4, 2024
3 checks passed
@s10 s10 deleted the C5384329/designate-liveness branch November 4, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants