Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One Script to Run Them All #683

Closed
phatlast96 opened this issue Jul 6, 2017 · 3 comments
Closed

One Script to Run Them All #683

phatlast96 opened this issue Jul 6, 2017 · 3 comments

Comments

@phatlast96
Copy link

phatlast96 commented Jul 6, 2017

Running each individual K8s YAML file is dramatic change for anyone who is used to Docker Swarm, who tends to only run a single 'docker-compose.yaml' file for deployment.

It'd be nice for kompose to produce a single, executable script that runs all the K8s YAML files it produced. This thus improves the workflow of a former Docker Swarm user in addition to easing their transition to Kubernetes.

There could be an option to opt in or opt out of this feature.

If not, then it'd be nice if all the produced K8s YAML file are organized into a single folder.

@JadCham
Copy link
Contributor

JadCham commented Jul 13, 2017

@phatlast96 When you convert you can use kompose convert -o output.yaml and the output will be aggregated in one single file. I think this is very close to docker-compose.

@cdrage
Copy link
Member

cdrage commented Jul 13, 2017

What @JadCham said :)

If you do -o everything should work correctly in one file.

@phatlast96
Copy link
Author

Thanks! I did not know that!

@cdrage cdrage closed this as completed Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants