Closed tnozicka closed 3 weeks ago
@tnozicka: GitHub didn't allow me to request PR reviews from the following users: tnozicka.
Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs.
/cc @zimnx @rzetelskik
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rzetelskik, tnozicka, zimnx
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Description of your changes: At this point, ScyllaDB doesn't provide standardized
/readyz
and/healthz
probes, so we serve a wrapper around CQL status (with some tweak) from an operator binary. This is unfortunately running in the same container as ScyllaDB and shares the cpu quota with it and has a negative impact on latency. There are others but this is a first step towards fixing and probes are really the really problematic ones as they serve continuously.This PR move ScyllaDB probes to run in a separate container so it run in a separate cpu slice and doesn't affect ScyllaDB latency. This is also more architecturally clean and is a step forward to stop coping the operator binary into ScyllaDB container. It also abstracts generic probe patterns and related objects, so we can add other probes in the future, like for the Alternator or other APIs.
This also puts the probe logs at a correct place and no longer mix them with ScyllaDB logs.
Which issue is resolved by this Pull Request: Resolves #620