postgres-operator
postgres-operator copied to clipboard
Add topologySpreadConstraints configuration to pod spec.
Dear all,
I think we should configure topologySpreadConstraints to pod spec so these pods can spread zones for high availability.
Could someone review it, please? Thank you very much.
Best regards.
We need that feature too.
Can you also write an e2e test that tests that the constraints work as expected, please?
Can you also write an e2e test that tests that the constraints work as expected, please?
Dear @FxKu Thanks so much for your comments, I haven't written the UT or e2e test many, but I'll try my best. I'll mark it ready and let you know when I fixed the comments. Best regards.
Dear @FxKu I completed the UT and E2E tests and resolved your comment. Could you please review it again? Thanks.
Dear @FxKu Have you been able to take a look yet? I'm looking forward to hearing from you soon about this.
@laiminhtrung1997 thanks a lot for the update. I think, in this state you can be sure we will merge it for the next release. We have to focus on the new status feature first but I will get back to you in September.