4 ms·
> You either need a simple list of items (eg. dependencies) or key/value pairs. Use a text file or yml or json or whatever. You clearly haven't wrestled with k
by leg100 7y ago
> You either need a simple list of items (eg. dependencies) or key/value pairs. Use a text file or yml or json or whatever.
You clearly haven't wrestled with kubernetes configuration files.
Reams and reams of YAML, heavily indented to represent umpteen nested objects.
Templating, bash scripts, using your favourite language to roll your own config generator - these are all well trodden approaches that fail to scale.
Official shitshows like Helm have come along with nothing more innovative to offer than templated YAML. The next version uses lua to generate config, but I remain skeptical given previous design choices.
We can question whether kubernetes has pushed the dial too far towards necessitating mountains of config, but for now it is most definitely a problem for us users.
- mbrock 7y agoMy favorite is when people write scripts that concatenate YAML files in such a way that you have to be really careful about how this one file always needs to be indented by 12 spaces otherwise everything breaks in horrible ways.