docker.stack-service-ls

Collect information about services in a swarm stack

docker.stack-service-ls

type object

Collect information about services in a swarm stack

collect:
  v1:
    - docker.stack-service-ls:
        output_dir: /swarm/stacks/cooltool/services
        description: Logs from services in the cooltool stack
        namespace: cooltool-core

Required Parameters

  • namespace - The stack’s namespace

Optional Parameters

  • service_list_options - Options as would be passed to `docker stack services

Outputs

  • service_ls.json - JSON output


Shared Parameters

This spec also inherits all of the required and optional Shared Parameters