How does this compare with something like kubegres? https://www.kubegres.io/
Have chatted with the guy who builds kubegres, it’s a really solid solution and is meant to be better integrated (CRDs) and more of the reliable parts of the pg stack. It looks super solid. Unfortunately I can’t vouch for it in production yet since I still write my own resources but for me Zalando is #1 and Kubegres is either 2nd or 3rd. https://www.reddit.com/r/PostgreSQL/comments/mqrsbn/kubegres...
Pgo: The Postgres operator from crunchy data
21–30 of 38 posts
Re: Pgo: The Postgres operator from crunchy data
#22I cannot trust critical infrastructure components to 3rd party kubernetes operators. I don't like operators (I didn't write) in general because I find them too opinionated and obfuscated. It's unbelievable to me that someone would deploy a production datastore using one.
Regarding being opinionated I believe that it is what we expect from an operator. An operator simulates what human DBAs in this case would do. I am a maintainer of CloudNativePG, and I have been running and supporting PostgreSQL in production for 15+ years, creating also another open source software for backups (Barman). In CloudNativePG we have basically translated our recipes into Go code and tests.
Many people believe that databases should not run in Kubernetes. I not only believe the opposite, I believe that running Postgres in Kubernetes represents the best way, potentially, to run Postgres out there.
Re: Pgo: The Postgres operator from crunchy data
#23Re: Pgo: The Postgres operator from crunchy data
#24I used this in the past. Helped a lot with provisioning micro-pg-clusters. But honestly, the project always felt like a one-man-show, some (realy great) dev had a working set of scripts and kubernetized / operatorized it, but the whole thing feels hacky as hell. I'd still give a try if I ever needed postgresql again, but I would also know that I need to implement (again) my set of scripts and hacks on top of it.
Back then, we evaluated Crunchy Operator's source code. Being primarily imperative and using an external tool for failover, where the two main reasons we decided to start a new project in 2019 which was entirely declarative and purely based on the Kubernetes API server for cluster status. Such project was released open source last April under the name CloudNativePG and hopefully it will enter the CNCF Sandbox soon (fingers crossed).
Re: Pgo: The Postgres operator from crunchy data
#25I a am part of the community team. We have weekly live streams/blog posts about the topic and a Slack channel.
Re: Pgo: The Postgres operator from crunchy data
#26I cannot trust critical infrastructure components to 3rd party kubernetes operators. I don't like operators (I didn't write) in general because I find them too opinionated and obfuscated. It's unbelievable to me that someone would deploy a production datastore using one.
Can you please elaborate about obfuscation? Regarding being opinionated I believe that it is what we expect from an operator. An operator simulates what human DBAs in this case would do. I am a maintainer of CloudNativePG, and I have been running and supporting PostgreSQL in production for 15+ years, creating also another open source software for backups (Barman). In CloudNativePG we have basically translated our rec…
I've run into way too many exotic edge cases with kubernetes to trust an operator to do the right thing with data I care about. Most especially when the operator is also managing the replication and replicas and their underlying storage.
I am pro running datastores and other stateful workloads on kubernetes. I've been running databases on kubernetes since petSets.
Re: Pgo: The Postgres operator from crunchy data
#27How does this compare with something like kubegres? https://www.kubegres.io/
Have chatted with the guy who builds kubegres, it’s a really solid solution and is meant to be better integrated (CRDs) and more of the reliable parts of the pg stack. It looks super solid. Unfortunately I can’t vouch for it in production yet since I still write my own resources but for me Zalando is #1 and Kubegres is either 2nd or 3rd. https://www.reddit.com/r/PostgreSQL/comments/mqrsbn/kubegres...
We abandonded Zalando after failing to set it up properly. Don’t remember the details, but do remember that the setup is leaning towards the internal infrastructure at Zalando.
Re: Pgo: The Postgres operator from crunchy data
#28I used this in the past. Helped a lot with provisioning micro-pg-clusters. But honestly, the project always felt like a one-man-show, some (realy great) dev had a working set of scripts and kubernetized / operatorized it, but the whole thing feels hacky as hell. I'd still give a try if I ever needed postgresql again, but I would also know that I need to implement (again) my set of scripts and hacks on top of it.
Couldn’t agree with you more, especially if you’re used to the quality of strimzi.
Re: Pgo: The Postgres operator from crunchy data
#29Earlier quoted context omitted.
Have chatted with the guy who builds kubegres, it’s a really solid solution and is meant to be better integrated (CRDs) and more of the reliable parts of the pg stack. It looks super solid. Unfortunately I can’t vouch for it in production yet since I still write my own resources but for me Zalando is #1 and Kubegres is either 2nd or 3rd. https://www.reddit.com/r/PostgreSQL/comments/mqrsbn/kubegres...
Could you elaborate why Zalando is #1? We abandonded Zalando after failing to set it up properly. Don’t remember the details, but do remember that the setup is leaning towards the internal infrastructure at Zalando.
- Focus on CRDs versus outside tools (crunchy used to insist on pgo and while it's not required, I don't really want another CLI to manage/use)
- Amount of open conversation, conference talks etc around Zalando's solution and why they've built their solution/how they've scaled it
- No specific need for pgadmin/badger/extra logging features (I might feel differently these days!)
- Customizable pods
These days both of these projects are very similar overall, and I haven't compared them recently.
Looking back at my notes I had this written down:
> Looks like Zalando is probably the winner (https://www.youtube.com/watch?v=WBdNVrffOSo)
The video is old and in Japanese but basically:
- scale in/out are similar
- RBAC control is similar
- Automatic version upgrades (only Zalando supported rolling update at the time)
- Zalando had PVC-driven volume resize vs Crunchy required cluster change
It's been a year so maybe they're probably even more similar now but I'd love to hear what I'm missing if I'm wrong.
Some more resources:
https://blog.flant.com/comparing-kubernetes-operators-for-po...
https://www.youtube.com/watch?v=3TFXztwat_s
These days I might lean Crunchy -- but a lot of the things that would be gaps (like no built in postgres support) I would actually opt to solve myself with a different operator (ex. Prometheus Operator) or just adding a deployment myself (when needed). Taking another quick look today, the differences I see are:
- customizable tablespaces with Crunchy
- local backups with pgbackrest + crunchy (and in general wal-g is preferred to wal-e so zalando is a little behind there)
Neither of them have citus though, which I think will be a huge game changer as a default-include for their pg images.
Re: Pgo: The Postgres operator from crunchy data
#30https://www.crunchydata.com/developers/terms-of-use Before using Crunchy Data, I'd read their terms of use. "without an active Crunchy Data Support Subscription or other signed written agreement with Crunchy Data are not intended for... using the services provided under the Program (or any part of the services) for a production environment, production applications or with production data" https://hub.docker.com/r/cru…
CEO Percona Here. It is more than "Percona Thinks" We have number of customers who started using Crunchy Kubernetes Operator based solution thinking it is Open Source and were contacted by Crunchy Sales team to indicate they need subscription to use it. This was one of the reasons for them to move to Percona Operator for PostgreSQL which does not require any commercial relationship with Percona to use in practice and…