Questions tagged [consul]

5 questions
5
votes
1 answer

Using consul's DNS interface within docker containers

I've got a consul agent running on my host machine, and a couple of services running inside docker containers. I'm using 'gliderlabs/registrator' to discover these services and register them with the local consul agent. The consul agent is…
morcmarc
  • 51
  • 1
  • 3
3
votes
1 answer

DNS service discovery using Consul in Docker Swarm

I'm trying to get service discovery working using consul DNS. I've set up a docker swarm with a consul cluster functioning as the key/value pair backend required by swarm as well as functioning as the service discovery backend for the other…
Emmet O'Grady
  • 51
  • 1
  • 3
2
votes
1 answer

How can I list all IPs when Consul Cluster DNS is queried?

I have a 5 node Consul Cluster. When I run the DNS command below, it lists only three IPs at a time randomly. How can I have all 5 IPs listed at the same time (randomly) as opposed to three at a time? dig @ 127.0.0.1 -p 8600…
The Georgia
  • 143
  • 4
1
vote
1 answer

Why HAProxy tcp-request content do-resolve is not working

i am using a combination of HAProxy (docker image v2.3.2) and Hashicorp Consul (v1.9.1) to access my VMs behind haproxy using SSH (i followed https://www.haproxy.com/fr/blog/route-ssh-connections-with-haproxy/) My VMs are registered in consul I use…
Abderrahmane
  • 111
  • 1
0
votes
2 answers

Ansible consul module required but already installed

I have created simple task to add key value in Consul but i have error: ansible-playbook -i hosts -u siecadm master_playbook.yml PLAY [consul]…
rab boubou
  • 21
  • 3