5 ms·
>I think the configuration aspect (YAML) What are the reasons to not use JSON rather than YAML? From my admittedly-shallow experience with k8s, I have yet to e
by garrettgrimsley 3y ago
>I think the configuration aspect (YAML)
What are the reasons to not use JSON rather than YAML? From my admittedly-shallow experience with k8s, I have yet to encounter a situation in which I couldn't use JSON. Does this issue only pop up once you start using Helm charts?
- kbar13 3y agoat the surface level yaml is a lot easier to read and write for a human. less "s. but once you start using it for complex configuration it becomes unwieldy. but at that point json is also not better than yaml. after using cdk i think that writing typescript to define infra is a significantly better experience
- smokel 3y agoOne of the most annoying limitations of JSON is that it does not allow for comments.