Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> or you have k8s configmaps [...] those things are all broadly fine; they keep the configuration state separate from the app deploy state

Why are they fine? This seems to be an argument grounded in "it's a newer norm therefore it's better" but I don't see the justification. I've never used Heroku but ConfigMaps are a bane to manage. Even as a general programming principle within application code, colocality is a well-known, long-discussed topic around improving maintainability. If you're not using monorepos, that's currently not a reasonable option with current orchestration conventions.

Even if you are using monorepos, you're highly likely to either get into writing & automating DSLs to feed into your configmaps or do weird things like using Jinja to do file includes in your mounts. That's all before you run into the etcd 1MB size limit & realise that actually this whole system is a hack.

TL;DR newer ain't intrinsically better



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: