Re:Run PostgreSQL. The Kubernetes Way
by ahoka on Saturday September 23, 2023 @04:04AM
(#37621476)
Why do you use a StatefulSet? I assume every instance has it own volume with its own sqlite and that backs the cache. Why not just Deployment? Failover would be easier in that case.
[ Parent
| on HN ]
I scale it vertically. Cache refresh is non optimal and takes a few hours. I could make it better by having the instances talk, but frankly the service may never actually need to scale. It can handle thousands of rps off that single container.