consul job from consul/11
Github source:
37e46f46
or
master branch
Properties¶
consul
¶
client_addr
¶The IP to use for client communication
cluster
¶
join_host
¶Hostname/IP for initial cluster node for other consul servers to join.
join_hosts
¶Hostnames/IPs representing all initial consul servers. Use this or consul.cluster.join_host / consul.cluster.size
size
¶Expected size of consul server cluster being built. Leader election delayed until all server nodes available.
default_recursor
¶DNS recursor to use if BOSH not provising DNS
- Default
8.8.8.8
domain
¶All DNS queries for this domain will be handled by consul.
- Default
consul
encrypt
¶A key to encrypt the traffic between the consul agents (use consul keygen)
server
¶Should the agent run in server or client mode
- Default
true
ssl_ca
¶The content of the ca file
ssl_cert
¶The content of the cert file
ssl_key
¶The content of the key file
user
¶User that consul is ran under
- Default
vcap
networks
¶
apps
¶Deployment’s internal name for the network interface to discover own IP
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/consul/
directory
(learn more).
bin/consul_ctl
(frombin/consul_ctl
)bin/monit_debugger
(frombin/monit_debugger
)consul/agent.json
(fromconsul/agent.json.erb
)consul/ca.cert
(fromconsul/ca.cert.erb
)consul/consul.cert
(fromconsul/consul.cert.erb
)consul/consul.key
(fromconsul/consul.key.erb
)data/properties.sh
(fromdata/properties.sh.erb
)helpers/ctl_setup.sh
(fromhelpers/ctl_setup.sh
)helpers/ctl_utils.sh
(fromhelpers/ctl_utils.sh
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.