swarm-agent job from docker/36.0.2
Github source:
9b2b4d7 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(frombin/ctl)bin/job_properties.sh(frombin/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.