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

specify replica count #15

Closed
ngtuna opened this issue Jul 6, 2016 · 2 comments
Closed

specify replica count #15

ngtuna opened this issue Jul 6, 2016 · 2 comments

Comments

@ngtuna
Copy link
Contributor

ngtuna commented Jul 6, 2016

It should be very easy to do kompose convert --replica <number>

@ngtuna ngtuna closed this as completed in a2ae1c3 Jul 13, 2016
@sebgoa
Copy link
Contributor

sebgoa commented Jul 13, 2016

Why do you want to do this ?
convert creates the objects, we can scale it with kubectl

@ngtuna
Copy link
Contributor Author

ngtuna commented Jul 14, 2016

To be exact, I implemented kompose convert --rc replica_number

Adding replicas count was added in our shared document so I implemented it. This is a tiny change in code and also in user experience which instead of specifying --rc only user can also directly define number of replica with --rc replica_number. I see it has benefit for example in case of doing pipe with kubectl. After that, user can also verify and reset replicas by editing rc files. Other hand, it also has a drawback that replica number is set equally to all pods/containers.

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

2 participants