this post was submitted on 19 Jun 2023
191 points (97.0% liked)

Programmer Humor

19602 readers
865 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] tyw0kki@programming.dev 11 points 1 year ago (2 children)

Trying to do Postgresql TLS /w Internal PKI chain created by Cert-Manager made me want to throw my laptop out the window yesterday.

This stuff is hard.

[โ€“] RandomDevOpsDude@programming.dev 7 points 1 year ago (2 children)

Just tell the security team to handle it ๐Ÿ˜Ž

(My security team would NOT be amused by this joke suggestion)

[โ€“] tyw0kki@programming.dev 9 points 1 year ago

I am the security team :'(

Not who you replied to, but mine would tell me no and then laugh at me

[โ€“] vapeloki@lemmy.world 4 points 1 year ago (1 children)

Use a postgresql operator for that.

How many postgresql databases without replication and backup if have seen .... and 90% of then contained critical data.

If you really need to run the db inside containers, never by hand.

And as a full time postgresql dba: NEVER run your production databases inside k8s

[โ€“] jpfreely@programming.dev 1 points 1 year ago* (last edited 1 year ago) (2 children)
[โ€“] andrew@lemmy.stuart.fun 5 points 1 year ago* (last edited 1 year ago)

Because dogma. There are tons of places running production postgres, and indeed many other stateful services, in Kubernetes.

Edit because presumably GP downvoted me for contradicting them, since I've personally overseen this in production at Fortune 100 companies and unicorn startups alike:

https://dok.community/

https://github.com/zalando/postgres-operator

And plenty of YouTube videos from various kubecons and CloudNativeCons. Kubernetes is a runtime and provides plenty of primitives for safely running stateful workloads even better than otherwise possible. Anyone who says otherwise hasn't bothered directly learning enough about the possibilities and is likely citing oft-quoted dogma that dates back to the earliest days of k8s and was questionable even then.

[โ€“] jpfreely@programming.dev 1 points 1 year ago

Accidentally deleted. It said "why not?"