NAME

API::Docker::Type::ServiceSpec::RollbackConfig - Specification for the rollback strategy of the service

VERSION

version 0.004

DESCRIPTION

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

parallelism

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

delay

Amount of time between rollback iterations, in nanoseconds.

failure_action

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

monitor

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

max_failure_ratio

The fraction of tasks that may fail during a rollback 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 back a 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.