Skip to content

docs(service create): note global mode still honors constraints - #7196

Merged
thaJeztah merged 1 commit into
docker:masterfrom
locker95:docs/global-mode-constraints
Sep 3, 2026
Merged

thaJeztah merged 1 commit into
docker:masterfrom
locker95:docs/global-mode-constraints

Conversation

@locker95

Copy link
Copy Markdown
Contributor

--mode global was reading like "one task on every node". it still filters with --constraint — only matching nodes get a replica.

Fixes #592

@locker95
locker95 requested review from a team and thaJeztah as code owners August 15, 2026 14:39
@thaJeztah

Copy link
Copy Markdown
Member

Thanks! Can you remove the Fixes #xxx from the commit message itself? We try to avoid those references because they tend to be noisy if commits are merged (which can be in forks)

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@thaJeztah thaJeztah added this to the 29.8.0 milestone Aug 15, 2026
A global service is one task per matching node, not one per
node in the swarm. Say that next to --mode and --constraint.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95

Copy link
Copy Markdown
Contributor Author

yeah, dropped it from the commit — left it on the PR body only.

@locker95
locker95 force-pushed the docs/global-mode-constraints branch from d8bdf4e to 3c53edb Compare August 15, 2026 16:36

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
thaJeztah merged commit ade9070 into docker:master Sep 3, 2026
95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document behavior of constraints on a global mode service

3 participants