kompose
@kelseyhightower somehow I did not see that you kept on evolving this.
Do you know about:
http://github.com/skippbox/kompose
We are proposing it for the k8s incubator via sig-apps.
I looked at kompose, but generating json instead of yaml and not being able to direct output was a big turnoff.
@dhoer I work on kompose.
You can certainly use what works for you, there is no silver bullet.
But kompose does allow to convert to yaml. I am not clear on what you mean by "direct output", but a simple use to generate yaml manifests and output to stdout would be:
$ ./kompose -f ./examples/docker-voting.yml convert --stdout --yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Service
metadata:
annotations:
com.example.description: Vote
creationTimestamp: null
kompose was moved to the incubator now https://github.com/kubernetes-incubator/kompose .
thanks for the feedback.
@sebgoa Thanks for the tip! By "direct output" I meant the --output switch that compose2kube has. It does look like yaml will be the default in a later release: https://github.com/kubernetes-incubator/kompose/issues/306.