This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.
Collect information about the tasks running in a service
collect: v1: - docker.stack-service-ps: output_dir: /swarm/stacks/cooltool/service-tasks description: Tasks owned by services in the cooltool stack namespace: cooltool-core task_list_options: Filters: label: - com.cooltool.tier=www - com.cooltool.tier=api
namespace- The stack’s namespace
task_list_options- Options as would be passed to
docker stack ps
service_ps.json- JSON output
This spec also inherits all of the required and optional Shared Parameters