Questions tagged [consul]

Consul is one of the HashiCorp tools that is used for service discovery, configuration and orchestration.

Features:

  • Service Discovery
  • Health Checking
  • Key/Value Store
  • Multi Datacenter
50 questions
0
votes
1 answer

Consul script handler stdout not showing up in logs as documented

I'm writting a script to be used as a handler in a watcher config in consul. The documentation for script type hanlders states: An executable handler reads the JSON invocation info from stdin. [...] Anything written to stdout is logged. Based on…
Zeitounator
  • 1,199
  • 5
  • 12
0
votes
0 answers

is it possible to serve dns server which is behind haproxy on same node as haproxy and consul?

I have consul, on ip 192.168.0.15, and I have installed haproxy via docker on same node with http port 8081(not that it matters). but I also have 1 of CoreDNS server running on same ip but port number is 5335 . other 2 dns server are on same network…
Ciasto piekarz
  • 111
  • 1
  • 10
0
votes
1 answer

Why does consul services register do nothing?

I have created a simple JSON service definition file and am attempting to register it as a service in the local consul agent on the server: / $ consul services register /tmp/foo.service However, nothing happens - I don't see the service or its…
Robin Green
  • 451
  • 3
  • 11
0
votes
1 answer

Consul template, consul and HaProxy setup with springboot applications in docker containers

Can someone tell me how to configure HaProxy config and consul-template to fill the config file automatically? How do we configure consul-template? How do the HaProxy config file and consul-template communicate? Any examples available would help a…
HyukHyukBoi
  • 101
  • 1
0
votes
1 answer

Getting Permission denied when accessing consul with python

While trying to debug patroni connection to consul, I tried to write simple python connector to consul myself. That's what I'm doing(python3, Centos7) import consul c =…
1 2 3
4