1 Answer
- Newest
- Most votes
- Most comments
0
Hello Sahil,
I suppose a right thing to go might be to use StatefulSets in Kubernetes, in this way, the main writer-node will never be scaled down, if you configure minimum of pods to be greater than 1;
However, I suppose, you would also need to provision a persistent volume and persistent volume claim, using EBS volume of needed type (probably, io1/2 would be great for db needs);
Please correct me, if I am missing something!
answered 8 months ago
Relevant content
- asked 5 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago

I would argue that the correct option would be to not run this pod in this cluster. Having a database inside a cluster which can scale seems inherently dangerous. At the very least, make sure you have very frequent snapshots in case it dies