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

Swarm Mode -- Allow for 0 replicas #436

Closed
taiidani opened this issue Dec 30, 2016 · 3 comments
Closed

Swarm Mode -- Allow for 0 replicas #436

taiidani opened this issue Dec 30, 2016 · 3 comments
Labels
Milestone

Comments

@taiidani
Copy link

Description

Currently Portainer allows for scaling a replicated service in Docker Swarm Mode to 1+ tasks. Docker allows for setting replicas to 0, effectively pausing the service.

docker service update --replicas 0 service-name

Could we update the "replicas" section of the Services UI to allow for entering 0 replicas?

@deviantony
Copy link
Member

I don't see the problem in the services view:

capture du 2016-12-31 12 30 48

capture du 2016-12-31 12 31 02

capture du 2016-12-31 12 30 03

capture du 2016-12-31 12 31 22

@deviantony
Copy link
Member

But the services-details view does not allow for the 0 value indeed.

@taiidani
Copy link
Author

Good call on the services view! Yes I was specifically talking about the details view.

Thanks for the tip -- I can happily use the services view as a workaround in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants