consul_agent job from cf/210
Github source:
211e35ec
or
master branch
Properties¶
consul
¶
agent
¶
datacenter
¶Name of the agent’s datacenter.
- Default
dc1
log_level
¶Agent log level.
- Default
info
mode
¶Mode to run the agent in. (client or server)
- Default
client
protocol_version
¶The Consul protocol to use.
- Default
2
servers
¶
lan
¶LAN server addresses to join on start.
- Default
[]
wan
¶WAN server addresses to join.
- Default
[]
services
¶List of services to configure.
- Default
[]
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_agent/
directory
(learn more).
bin/agent_ctl
(fromagent_ctl.sh.erb
)bin/join_ctl
(fromjoin_ctl.sh.erb
)config/config.json
(fromconfig.json.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.