NAME

API::Docker::Type::ServiceSpec::Mode - Scheduling mode for the service

VERSION

version 0.004

DESCRIPTION

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

replicated

Undocumented upstream. The mode for a service with a fixed number of tasks; the count is "replicas" in API::Docker::Type::ServiceSpec::Mode::Replicated, and the swagger's Service example carries {"Replicated": {"Replicas": 1}}. Of the four modes only ReplicatedJob and GlobalJob are described upstream. See API::Docker::Type::ServiceSpec::Mode::Replicated.

global

Undocumented upstream. One task on every valid node: the same reach the swagger gives GlobalJob, which it describes as running a task to the completed state on each valid node, without the running-to-completion part. An empty object -- naming the mode is the whole of it.

replicated_job

The mode used for services with a finite number of tasks that run to a completed state. See API::Docker::Type::ServiceSpec::Mode::ReplicatedJob.

global_job

The mode used for services which run a task to the completed state on each valid node.

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.