swarm_agent job from docker/28.0.2
Github source:
0567d953 or
master branch
Properties¶
docker¶
tcp_port¶TCP port where Docker daemon will listen to (if not set, TCP will not be available)
- Default
"4243"
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
swarm¶
discovery¶Swarm discovery string (ie: consul:///, etcd://,/, zk://,/, [nodes://],
discovery_options¶Swarm discovery options
- Default
[]
swarm_agent¶
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
heartbeat¶Time in second between each heartbeat
- Default
20s
log_level¶Log level (options: debug, info, warn, error, fatal, panic)
- Default
info
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/job_properties.sh(frombin/job_properties.sh.erb)bin/swarm_agent_ctl(frombin/swarm_agent_ctl)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.