Re:Nomad vs. Kubernetes
by still_grokking on Friday October 15, 2021 @09:28PM
(#28884869)
Parsing JSON Is a Minefield (2016):
Re:Nomad vs. Kubernetes
by AzzieElbab on Friday October 15, 2021 @01:22PM
(#28880313)
I don’t think Json was designed, it is just JavaScript objects plus Douglas Crockford spec. Having said that, HCL really doesn’t click with me
Crockford himself says JSON was not invented but rather discovered.
Re:Nomad vs. Kubernetes
by AzzieElbab on Friday October 15, 2021 @01:54PM
(#28880773)
Didn’t know he did but it is somewhat obvious. Lispish roots of js do shine through sometimes
Syntax and data structures are very similar to LPC serialization. Obvious but very useful.
HCL requires a lot more code to parse and many more resources to keep in memory vs JSON. I think it completely makes sense to do it this way. K8s is the same. On the server it does everything in JSON. Your YAML gets converted prior to sending to K8s.