Skip to content

swarm_agent job from docker/30.0.0-rc.3

Github source: 0b75642 or master branch

Properties

advertise

Address of the Docker Engine joining the cluster. Swarm manager(s) MUST be able to reach the Docker Engine at this address.

debug

Enable debug mode

Default
false

env

http_proxy

HTTP proxy that Docker should use

https_proxy

HTTPS proxy that Docker should use

no_proxy

List of comma-separated hosts that Docker should skip connecting to the proxy

heartbeat

Time in second between each heartbeat

Default
20s

log_level

Log level (options: debug, info, warn, error, fatal, panic)

Default
info

swarm

discovery

Swarm discovery string (ie: consul:///, etcd://,/, zk://,/, [nodes://],

discovery_options

Swarm discovery options

Default
[]

ttl

Sets the expiration of an ephemeral node

Default
60s

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/swarm_agent/ directory (learn more).

  • bin/ctl (from bin/ctl)
  • bin/job_properties.sh (from bin/job_properties.sh.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.