sorintlab / stolon

PostgreSQL cloud native High Availability and more.
https://talk.stolon.io
Apache License 2.0
4.66k stars 447 forks source link

k8s e.g.: Enable high availablility by NOT collocating pods on the same node #741

Open Miyurz opened 4 years ago

Miyurz commented 4 years ago

With this change, we ensure that the replica pods of the same deployment do not get assigned to the same node. Fot this, we have employed k8s anti-affinity rule.

LORdV0LD3m0rt commented 4 years ago

@sgotti Can you please review ?