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

Add grpc health probe implementation to core #680

Merged
merged 1 commit into from
May 8, 2020

Conversation

zhilingc
Copy link
Collaborator

@zhilingc zhilingc commented May 6, 2020

What this PR does / why we need it:

Changing the health probe for feast core to use grpc, and test simple functionality (retrieving projects) instead of just pinging the db.

This works well as a readiness probe, but not so much as a liveness probe since even in the event it fails, restarting the service will not help solve the problem. Additionally, grpc health probe does not allow us to differentiate between the two types of probes.

For now I have the liveness probe disabled by default in the helm chart, but I'm happy to take any suggestions regarding the problems above ^

Which issue(s) this PR fixes:

Fixes #514

Does this PR introduce a user-facing change?:


@khorshuheng
Copy link
Collaborator

/lgtm

@khorshuheng
Copy link
Collaborator

/approve

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: khorshuheng, zhilingc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [khorshuheng,zhilingc]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feast-ci-bot feast-ci-bot merged commit d1aebb9 into feast-dev:master May 8, 2020
@ches
Copy link
Member

ches commented May 22, 2020

We should include in changelog / a migration guide that /healthz will be gone in the release that includes this, and point to the gRPC replacement.

@ches ches added the compat/breaking Breaking user-facing change label May 22, 2020
@ches
Copy link
Member

ches commented May 22, 2020

For now, I've called it out as a note in the Breaking Changes section of the GitHub Release for v0.5.0

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.

Kubernetes liveness / readiness probes
4 participants