NAME

API::Docker::Type::ServiceSpec::UpdateConfig - Specification for the update strategy of the service

VERSION

version 0.004

DESCRIPTION

Generated from the inline UpdateConfig schema of the ServiceSpec definition in spec/v1.51.yaml.

parallelism

Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism).

delay

Amount of time between updates, in nanoseconds.

failure_action

Action to take if an updated task fails to run, or stops running during the update. The swagger enumerates continue, pause and rollback.

monitor

Amount of time to monitor each updated task for failures, in nanoseconds.

max_failure_ratio

The fraction of tasks that may fail during an update before the failure action is invoked, specified as a floating point number between 0 and 1. The daemon defaults it to 0.

order

The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. The swagger enumerates stop-first and start-first.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.