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

docker_swarm_service does not expose --replicas-max-per-node #7

Closed
nicholasamorim opened this issue Oct 2, 2020 · 11 comments
Closed
Assignees
Labels
docker-swarm Docker Swarm

Comments

@nicholasamorim
Copy link

SUMMARY

docker_swarm_service does not expose the --replicas-max-per-node that is very useful especially when running services that might need HA in a more strict manner (databases, etc)

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

docker_swarm_service

ADDITIONAL INFORMATION
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@WojciechowskiPiotr
Copy link
Collaborator

Hi @nicholasamorim,
I see this has been added in API 1.40. If nobody picks it, I will try to add it later this month.
Regards

@gundalow gundalow transferred this issue from ansible-collections/community.general Oct 30, 2020
@WojciechowskiPiotr WojciechowskiPiotr self-assigned this Dec 9, 2020
@felixfontein felixfontein added the docker-swarm Docker Swarm label Jan 2, 2021
@b2az
Copy link

b2az commented Feb 8, 2021

just here to tell you, that i also need this in my playbooks.

@WojciechowskiPiotr
Copy link
Collaborator

just here to tell you, that i also need this in my playbooks.

Hi, the docker-py maintainers review my change proposal, so I how we can marge it soon. I have the patch for docker_swarm_service ready.

@WojciechowskiPiotr
Copy link
Collaborator

My change (docker/docker-py#2741) has been merged so as soon as the next version of docker-py is released I will implement this feature in docker_swarm_service

@WojciechowskiPiotr
Copy link
Collaborator

FYI my change in docker-py will be included in release 4.5.0 so we have to wait until it is released.

@hartwork
Copy link

FYI my change in docker-py will be included in release 4.5.0 so we have to wait until it is released.

While not mentioned in the change log of docker-py 4.4.3 I can confirm that docker/docker-py#2774 has just hit PyPI in release 4.4.3 already yesterday.

@felixfontein
Copy link
Collaborator

As long as they don't remove it again in 4.4.4, I guess we can start using it ;-)

@WojciechowskiPiotr
Copy link
Collaborator

Ok, I saw it on the list for the 4.5.0 release but it is even better it was included in 4.4.3 even by this small mistake :) In such case, I will prepare my change for community.docker shortly.

@felixfontein
Copy link
Collaborator

This has been implemented in #92 and will be available in the 1.3.0 release.

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

No branches or pull requests

6 participants