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

Generating both ReplicationControllers and Deployments #30

Closed
kadel opened this issue Jul 12, 2016 · 6 comments
Closed

Generating both ReplicationControllers and Deployments #30

kadel opened this issue Jul 12, 2016 · 6 comments

Comments

@kadel
Copy link
Member

kadel commented Jul 12, 2016

Running kompose convert --deployment generates files with Services, Deployments and also Replication Controllers.

Shouldn't this generate just Deployments and Services?

Some for Daemon Sets and Replica Sets.

@janetkuo
Copy link
Member

+1

@janetkuo
Copy link
Member

A fix for this is easy. Here are some more things to think about:

  1. This breaks backward compatibility.
  2. How'd a user create an RC and other controllers at the same time? One can do kompose convert --d --ds, but there's no flag for RC (since it's the default controller).
  3. Should we change Deployment to be default controller being created instead?

@ngtuna
Copy link
Contributor

ngtuna commented Jul 13, 2016

+1

@kadel Originally kompose generates rc, svc by default but yes we should do that. I will work on that or you can also freely go ahead to send us PR

@ngtuna
Copy link
Contributor

ngtuna commented Jul 13, 2016

@janetkuo @kadel the tricky point here is just for --stdout option where user would like to pipe with kubectl. Otherwise, generating RC by default does not harm anymore as user has option to pick up files he want for further operation.

@janetkuo
Copy link
Member

@ngtuna --stdout and --out stop multiple controllers from being created already.

@ngtuna
Copy link
Contributor

ngtuna commented Jul 13, 2016

@janetkuo Ah... yes you're right. I totally agree to change DeploymentSet to be default controller being created. Then we can keep RC as optional --rc 😺

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