Imagine you need to set up 100 Postgres clusters on Linux machines – self-managed, not RDS or CloudSQL or Azure or anything.<p>What's the best path in YOUR opinion?<p>1) apt/yum/... install<p>2) docker / docker-compose<p>3) kubernetes
There's no amount of money you could pay me to do this with Kubernetes. Like, you could offer me double my salary, and I'd laugh.<p>The only answer that makes any sense here is Ansible.<p>Arguments:<p>Way simpler<p>Can fall back to using plain SSH if things goes really wrong<p>No vendor lock in<p>One less bit of technology in the mix to go wrong<p>Very boring, which means very reliable
Do they need to interconnect, or are they all standalone?<p>How big are these instances expected to get for the next few years?<p>OLTP, OLAP, warehouse, or a combo?<p>What's your budget?<p>What is your team most familiar with?<p>Will they be publicly exposed for shared hosting? Or behind a VPN/VPC serving only your employer?<p>Has anyone had a good time using Docker for something like this? (I haven't but the paravirt persistence may have gotten better?)
~~<p>Context: <a href="https://twitter.com/samokhvalov/status/1771573110858269014" rel="nofollow">https://twitter.com/samokhvalov/status/1771573110858269014</a><p>~1000 votes in just one day – obviously, this is an attractive topic to discuss, so wanted to have a thoughtful conversation here on HN.
Sorry but do you mean nodes or clusters? Anyway at this scale you are definitely looking into managed services from cloud providers or using Kubernetes. 1 and 2 is not an option because of the maintenance burden. Rolling out upgrades and resource allocation is going to be very hard without Kubernetes.
(after clicking through context...) There's no amount of money you could pay me to do this with Ansible. Like, you could offer me double my salary, and I'd laugh.<p>The <i>only</i> answer that makes any sense here is Kubernetes.