News for hackers. Stuff that matters.
Re:PostgreSQL 14 on Kubernetes by dijit on Wednesday October 06, 2021 @04:02AM (#28770410)
Kubernetes is great but not everything fits in kubernetes, this is a bad ops team if this is the case.
Re:PostgreSQL 14 on Kubernetes by jpgvm on Wednesday October 06, 2021 @05:39AM (#28771008)
Note the "except if you have a very good reason" caveat.

I think this is a good ops team mantra. PostgreSQL unless you have a very good reason otherwise, and k8s unless you have a very good reason otherwise.

Decisions like this allow for economies of scale with tooling, monitoring/observability, etc.

Saying no to snowflakes is an important part of having a good ops team.

Re:PostgreSQL 14 on Kubernetes by dijit on Wednesday October 06, 2021 @06:11AM (#28771221)
Guess it depends on who is defining “very”.

A persistent connection is antithetical to the design of kubernetes.

Persistent storage is hard to get right in kubernetes and puts a lot of pressure on the cluster being perfect, which is something a good ops team will tell you is hard.

If your application is stateless http services then kubernetes is great, but there are common things that don’t fit well, and forcing people into a solution which may require a complete rethinking is not very pragmatic.

Re:PostgreSQL 14 on Kubernetes by dagw on Wednesday October 06, 2021 @05:54AM (#28771098)
Eh, for what it's worth they've deployed a couple of PostgreSQL instances for me using Kubernetes and it's worked exactly like I've wanted it to. But then again I've never had push those instances to breaking point either when it comes to IO or concurrency so who knows.