Interesting results. I hate config files; I've spent too long with tetchy parsers with weird syntax and poor documentation. I much prefer environment variables. Command line and Web UI don't work for me.
Conversation
Notices
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 04-Jan-2024 13:57:23 JST Evan Prodromou - clacke likes this.
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 04-Jan-2024 14:04:51 JST Evan Prodromou @penryu I spin up PostgreSQL with K8S all the time. Love it!
-
Embed this notice
penryu (penryu@hachyderm.io)'s status on Thursday, 04-Jan-2024 14:04:52 JST penryu @evan I feel that pain. But I can't imagine trying to configure a core service (eg, sshd, sendmail, psql) with env vars.
clacke likes this. -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 04-Jan-2024 14:23:36 JST Evan Prodromou @penryu definitely. If you are doing hardcore optimization, it doesn't work. For treating PostgreSQL servers like disposable toys, it's awesome.
clacke likes this. -
Embed this notice
penryu (penryu@hachyderm.io)'s status on Thursday, 04-Jan-2024 14:23:37 JST penryu @evan I guess the 7 vars they make available for customization is pretty flexible, and handles the vast majority of simple cases. I guess I was thinking more about the intricacies of pg_hba or similar.
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Thursday, 04-Jan-2024 15:04:19 JST Evan Prodromou @penryu oh, absolutely yes. And K8S config files are horrendous. Just line after line of boilerplate and reused terms. But, I only have to know one syntax, not one per program.
-
Embed this notice
penryu (penryu@hachyderm.io)'s status on Thursday, 04-Jan-2024 15:04:20 JST penryu @evan The advantage to them being: you only have to know one configuration language to be able to configure any containerized service.
Whether or not yaml is a worthy victor in this arena is left to a much longer, future thread.
-
Embed this notice
penryu (penryu@hachyderm.io)'s status on Thursday, 04-Jan-2024 15:04:21 JST penryu @evan Taken another way:
What is a pod definition but a yaml configuration file?
What is a .env file but a Bourne configuration file?
clacke likes this. -
Embed this notice
M. Grégoire (mpjgregoire@cosocial.ca)'s status on Friday, 05-Jan-2024 04:36:16 JST M. Grégoire @evan Honestly, it's strange that so many programs have their own parser and config file format. After 60 years of UNIX, how is that no format has achieved dominance?