consul job from consul/22.0.1
Github source:
47fd7348
or
master branch
Properties¶
consul
¶
agent_config
¶override hash for the consul agent.json configuration
client_addr
¶The IP to use for client communication
default_recursor
¶DNS recursor to use if BOSH not providing 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)
leave_on_terminate
¶If enabled, gracefully leave the cluster when the process shuts down.
- Default
false
resolvconf_override
¶Force the host to use only the local consul agent for dns.
- Default
false
server
¶Should the agent run in server or client mode
- Default
true
services
¶a map of service configurations, keyed by service name
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.