mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-21 22:07:13 +00:00
Add note on docker service update --mode
This commit is contained in:
@@ -2132,6 +2132,22 @@ Note: if the hash rate goes to zero and doesn't climb back up, try to `rm` and `
|
||||
|
||||
---
|
||||
|
||||
## Why do we have to re-create the service to enable global scheduling?
|
||||
|
||||
- Enabling it dynamically would make rolling updates semantics very complex
|
||||
|
||||
- This might change in the future (after all, it was possible in 1.12 RC!)
|
||||
|
||||
- As of Docker Engine 1.13, other parameters requiring to `rm`/`create` the service are:
|
||||
|
||||
- service name
|
||||
|
||||
- hostname
|
||||
|
||||
- network
|
||||
|
||||
---
|
||||
|
||||
## Checkpoint
|
||||
|
||||
- We've seen how to set up a Swarm
|
||||
@@ -2325,8 +2341,6 @@ I don't need to SSH to another node.
|
||||
|
||||
]
|
||||
|
||||
Note: we could also use a pre-built image, e.g. `nicolaka/netshoot`
|
||||
|
||||
---
|
||||
|
||||
## Investigating the `rng` service
|
||||
|
||||
Reference in New Issue
Block a user