Feature request for supporting health and readiness checks in Dolt DB #7428
Closed
Description
Hello,
Requesting support for defining health checks for metrics endpoint in Dolt to support better pod handling in Kubernetes.
We're currently investigating running Dolt in a statefulSet inside EKS and would appreciate if livenessProbe
and readinessProbe
objects could be supproted directly withing the Dolt container. eg. support defining the following blocks in Kubernetes manifests.
livenessProbe:
httpGet:
path: /metrics/health
port: 3308
initialDelaySeconds: 20
periodSeconds: 10
failureThreshold: 5
successThreshold: 1
Endpoint should return a OK 200 response when Dolt is healthy and ready to accept connections. readinessProbe
could also be added to make sure that traffic is directed to the pod only when Dolt is ready to accept connections.
Could this be something to add to the roadmap?
(Sorry for the edit spam, accidentally published after writing the title :D )