Skip to content

Kubernetes liveness / readiness probes #514

@pmjacinto

Description

@pmjacinto

Is your feature request related to a problem? Please describe.

Currently we've got, as default [1], for both liveness and readiness probes:

  • in feast-core, an HTTP probe on the /healthz endpoint that checks the metadata DB [2]
  • in feast-serving, a "grpc probe" (using exec) that does not seem to check any store connection, although there is an action item there to do so [3]

Raising this issue to discuss:

Describe the solution you'd like

Grpc based probes for both components.
No DB checks in liveness probes by default.

Describe alternatives you've considered

Additional context

Refs:
[1] https://github.com/gojek/feast/blob/master/infra/charts/feast/charts/feast-core/templates/deployment.yaml#L107-L129
https://github.com/gojek/feast/blob/master/infra/charts/feast/charts/feast-serving/templates/deployment.yaml#L99-L119
[2] https://github.com/gojek/feast/blob/master/core/src/main/java/feast/core/http/HealthController.java
[3] https://github.com/gojek/feast/blob/master/serving/src/main/java/feast/serving/controller/HealthServiceController.java

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions