pgpool / pgpool2_on_k8s

57 stars 36 forks source link

Added readiness probe #23

Open yoshihikoueno opened 1 year ago

yoshihikoueno commented 1 year ago

Added a readiness probe to the deployment. This will help Kubernetes control planes to properly adjust the service endpoints depending on whether a PgPool-II pod is ready to accept a request or not.

pengbo0328 commented 1 year ago

@yoshihikoueno Thank you! I am going to test your patch.

philmcc commented 1 year ago

Hi @pengbo0328 - Did you get this tested and does it work as intended?

If you have multiple pods will connections be allocated across all of them or is one picked as a leader and the others for failover?