compose2kube icon indicating copy to clipboard operation
compose2kube copied to clipboard

kompose

Open sebgoa opened this issue 9 years ago • 3 comments

@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.

sebgoa avatar Sep 11 '16 14:09 sebgoa

I looked at kompose, but generating json instead of yaml and not being able to direct output was a big turnoff.

dhoer avatar Nov 28 '16 18:11 dhoer

@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 avatar Nov 28 '16 19:11 sebgoa

@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.

dhoer avatar Nov 28 '16 20:11 dhoer