chore: remove reference to min-ready#2419
chore: remove reference to min-ready#2419jackwotherspoon merged 4 commits intoGoogleCloudPlatform:mainfrom
Conversation
|
We actually removed this deliberately and didn't update the docs 🤦 See #2207. So this is could be a documentation PR. |
|
Fair. Unfortunate, but fair. Perhaps you can lend some insight then into how best to handle this particular situation: We are configuring HA databases and the idea is that when one of them is down, the other should still be accessible -- bc HA, of course. Will readiness still report as operable if one of the replicas configured is down? What will happen in the event all are down? Will readiness still report OK? The doc is mum on this which is why we pursued this, as we'd observed behavior that suggested when one was down readiness was no longer OK and the pods were pulled from their k8s Services. But looking at the code once more, this may have been isolated to cloud sql v1 as I'm not seeing how that would manifest here unless |
|
Would you mind opening an issue for this so we can help other people discover it? Short answer: configure readiness probes through your app rather than the Proxy. These probes might then traverse the proxy in reaching to the backing instance. This way you can configure whatever behavior makes sense for the problem you're trying to solve. |
|
Opened #2420 I'll revert my changes and update the doc in this PR instead. |
|
Thank you! |
|
🫡 my pleasure. Appreciate the quick responses! Done. |
jackwotherspoon
left a comment
There was a problem hiding this comment.
LGTM 👍 Thanks @dmarkwat 👏
Addresses a gap in the documented behavior for
/readinesschecks which states:This is a proposal to close that gap. One deficiency is clear, though, which is that it opens connections as part of the readiness endpoint which may slow its response time in certain connection conditions. Curious if there's suggestions to address this, but ultimately the documented feature isn't implemented and needs to be to properly support HA cloudsql configurations.