Skip to content

Wait for service update completed #31387

@WTFKr0

Description

@WTFKr0

Description

Add a way to wait for service update result
I think this is useful for Continous Deployment tools
Today we have to query service api to get the "UpdateStatus" info waiting for result

Steps to reproduce the issue:

  1. docker service update --image myimage:version my_service

Describe the results you received:
my_service (code 0) in a second

Describe the results you expected:
With a new flag, wait for end of update and return status of update or RC like
0 : completed
1 : paused
2: rolledback

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliClientarea/swarmkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions