Setting the Availability of the node while joining the Swarm
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
Hi,
Recently while looking at https://github.com/ansible-collections/community.general/issues/870 we noticed that it is not possible to set the node availability when it is joining the Swarm. It seems like this feature is not available in API at all. Altho it is possible to set availability while working on the Docker command line.
Is this a feature that can be implemented in docker-py, or is it missing in API and first the Docker itself in moby/moby project must be upgraded?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing docker-py’s Docker Engine API support with the Docker command-line option for setting node availability during Swarm joins. Check the linked Ansible issue and the Moby project to determine whether the API already exposes this capability; done means identifying the required project and API change, or confirming that docker-py cannot implement it alone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- api, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100