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

Use metrics for readiness/liveness probes #224

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

oribon
Copy link
Member

@oribon oribon commented Nov 11, 2024

Since the existing healthz/readyz don't do much, we leverage the metrics endpoints for readiness/liveness to avoid opening another port (8081) on the host.

Is this a BUG FIX or a FEATURE ?:
/kind cleanup

What this PR does / why we need it:

Special notes for your reviewer:

Release note:

NONE

@oribon oribon changed the title Use metrics for readiness/liveness probes WIP: Use metrics for readiness/liveness probes Nov 11, 2024
Since the existing healthz/readyz don't do much, we
leverage the existing metrics endpoint for the probes to
avoid opening another port (8081) on the host.

Signed-off-by: Ori Braunshtein <obraunsh@redhat.com>
@oribon oribon changed the title WIP: Use metrics for readiness/liveness probes Use metrics for readiness/liveness probes Nov 11, 2024
@fedepaol
Copy link
Member

I guess metallb's prometheus rules will need to be changed accordingly.
LGTM

@fedepaol fedepaol merged commit 3ac4d9f into metallb:main Nov 11, 2024
11 of 12 checks passed
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.

2 participants