From 5701d86f064184812ea0d2986df4d6865a7c8172 Mon Sep 17 00:00:00 2001 From: Laura Frank Date: Thu, 30 Nov 2017 16:55:52 -0500 Subject: [PATCH] Add example for `preferences` under deploy `placement` (#5415) --- compose/compose-file/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index 0a382971fd..b9313305da 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -629,6 +629,8 @@ documentation. constraints: - node.role == manager - engine.labels.operatingsystem == ubuntu 14.04 + preferences: + - spread: node.labels.zone #### replicas