Skip to content

Add grpc health probe implementation to core#680

Merged
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
zhilingc:probes
May 8, 2020
Merged

Add grpc health probe implementation to core#680
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
zhilingc:probes

Conversation

@zhilingc
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

/lgtm

@khorshuheng
Copy link
Copy Markdown
Collaborator

/approve

@feast-ci-bot
Copy link
Copy Markdown
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

Details 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
Copy Markdown
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
Copy Markdown
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