Mesos Json to Kubernetes YAML

7/18/2018

I'm moving an Apache Mesos application, where my configurations are based in JSON, to Kubernetes, where my configurations are based in YAML. Would the JSON configuration files work as a YAML file since YAML is a superset of JSON, or would I need to write a new YAML file?

-- emp440
docker
kubernetes
marathon
mesos
yaml

1 Answer

7/18/2018

Yes, JSON works as well, it's just more pain than YAML to write it, manually. Also, you may be able to use micahhausler/container-transform to convert your Marathon specs to Kubernetes specs.

-- Michael Hausenblas
Source: StackOverflow