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
Is your feature request related to a problem? Please describe.
Currently we've got, as default [1], for both liveness and readiness probes:
feast-core, an HTTP probe on the/healthzendpoint that checks the metadata DB [2]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:
HealthControlleris the only RestController in core, and it seems better to check the status of the Grpc endpoint instead.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