Search code examples
kubernetesmarathondcos

How to transform kubernetes YAML file into DC/OS JSON


I have to deploy a Kubernetes YAML file to DC/OS marathon. I haven't found how to transform Kubernetes YAML into JSON used on DC/OS, especially since there are YAMLs of various kinds, for example: DaemonSet, Service, PersistentVolume, StatefulSet, etc.

Is there an easy way to transform Kubernetes YAML files into JSON used on DC/OS?


Solution

  • No. Kubernetes and Marathon are two totally different systems. There is not a straightforward way to transform all the kinds of resources and their configurations from Kubernetes to Marathon.