top | item 39583232

(no title)

garrettgrimsley | 2 years 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?

discuss

order

smokel|2 years ago

One of the most annoying limitations of JSON is that it does not allow for comments.

kbar13|2 years ago

at 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