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

Enable kompose to generate configs per docker-compose service #657

Closed
surajssd opened this issue Jun 20, 2017 · 9 comments
Closed

Enable kompose to generate configs per docker-compose service #657

surajssd opened this issue Jun 20, 2017 · 9 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@surajssd
Copy link
Member

Right now we create configs of entire docker-compose file.

Consider the following docker-compose file with only one service:

services:
  one:
  ...

Now a user is using this for sometime, but after sometime she adds one more service and docker-compose file looks like this:

services:
  one:
  ...
  two:
  ...

Now what user wants is that only artifacts of service two to be created. How can we enable that to happen? I propose that we add a flag named service which creates config only for particular docker-compose service.

kompose convert --service two
kompose up --service two
@surajnarwade
Copy link
Contributor

I will take this up

@cdrage
Copy link
Member

cdrage commented Jun 20, 2017

@surajnarwade Please don't take this up yet, we need to discuss the scope of this functionality before any sort of implementation.

@surajssd This doesn't really make sense. If someone we're to add another service, it's as simple as adding the service to docker-compose.yaml converting, and then using kubectl apply, no? Kubernetes would automatically figure out what needs to be added and/or updated.

@surajnarwade
Copy link
Contributor

@cdrage okay :)

@surajssd
Copy link
Member Author

@cdrage yeah people can use kubectl apply but this was more on the lines of UX, not everyone knows about the kubectl apply recipe of using kompose, if we are not adding this feature please consider documenting it.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 2, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 7, 2018
@surajnarwade
Copy link
Contributor

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Feb 8, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 9, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 8, 2018
@cdrage cdrage closed this as completed Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants