The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [consul]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
30 views

Consul as service discovery and configuration server in on premises local network

We are developing a product that will work as a set of services deployed on-premises (e.g. in the local network of an office, factory, etc.). Since there can be lots of deployment targets for each ...
0
votes
0answers
22 views

how consul behind nsd

How tel nsd to use .consule as another service level for checking records. Here the stub-zone for unbound but how to tell nsd use consul? Unbound config stub-zone: name: "consul" stub-addr: ...
1
vote
0answers
22 views

How can I route public external traffic to consul?

I've setup consul, and can now internaly resolve service hostnames to the appropriate IP. For example: dig @127.0.0.1 -p 8600 tickethub.service.consul ; <<>> DiG 9.12.3-P1 <<>&...
1
vote
0answers
389 views

Configure Consul cluster with ACL enabled

Hello everyone and thanks for reading. I'm quite new to Consul. I've reading the documentation and practicing for a while, thus I've been able to properly configure consul in a few nodes. Now I want ...
0
votes
0answers
41 views

Consul agents are failing pings, but are otherwise healthy

I have a Consul cluster, all Windows in this particular case, that is seeing network issues. In particular, I'm seeing a lot of "failed ping" and "Was able to connect to XXX but other probes failed". ...
1
vote
0answers
111 views

Running HA Consul in two datacenters

One of my clients would like to run consul in two datacenters. Both datacenters Berlin and Frankfurt should result in a High Availability setup, where one datacenter can be taken offline or die ...
1
vote
0answers
204 views

consul proxy socket connection failed

agent: Check "service:socat-proxy" socket connection failed: dial tcp 127.0.0.1:20108: connect: connection refused It works in -dev mode but in normal server mode I get the above error? No clue where ...
5
votes
1answer
334 views

Large AXFR through dnsmasq causes dig to hang with partial results

I'm attempting to set up dnsmasq as a local cache for consul. While this seems to work fine for normal digs, dnsmasq seems to only allow partial zone transfers. My resolv.conf: search x.domain.com y....
0
votes
1answer
286 views

Consul, vault and postgres containers don't communicate

I'm trying to set up Consul with Vault for secrets management for Postgres with Docker. Here is my configuration Dokcerfile: FROM python:3.6-slim ENV VAULT_VERSION 0.11.1 ENV CONSUL_VERSION 1.2.3 ...
2
votes
2answers
100 views

DNS layer with service discover as resolver not SRV

I need to know is there any solution for solving my problem. I have a BIND DNS server and consul as service discoverer. This is what i want as simple diagram: How can I configure this sample setup ...
2
votes
0answers
122 views

Can consul-template fetch Vault servers from consul?

I would like to integrate HashiCorp vault into our current setup of consul + consul-template and was a bit surprised to find no option for consul-template to fetch the vault servers from consul's ...
1
vote
0answers
547 views

How to configure dynamic routing of gRPC requests with envoy, nomad and consul

We use nomad to deploy our applications - which provide gRPC endpoints - as tasks. The tasks are then registered to Consul, using nomad's service stanza. The routing for our applications is achieved ...
1
vote
0answers
356 views

Promoting Nomad task meta tags via consul to Prometheus

We are using Nomad to schedule tasks which are then registered in Consul from where they are picked up in Prometheus scraping. service.hcl: job "myjob" { group "mygroup" { count = "1" task ...
1
vote
0answers
289 views

Expose MySql as a service with Consul and Bind9 locally

I am trying to setup Consul and Bind9 to expose MySql as a service locally. I followed these steps Install MySql $ sudo apt-get update $ sudo apt-get install mysql-server Install Unzip and Nginx ...
1
vote
2answers
4k views

How do I completely remove a node from a Consul cluster?

This Consul Server node, in another DC, keeps joining some time after I remove it. The goal: A cluster of 5 Consul Servers in DC alpha0, whose KV Store a alpha0 Vault cluster uses as a Storage ...
1
vote
3answers
3k views

TERRAFORM how do i have 1 ecs cluster with 2 or more ecs service/task definitions?

Using Terraform, I have tried the hardest to find out how to create 1 ECS cluster and have multiple services running under it. SO basically i have 2 different containers i want to run with this 1 ECS ...
0
votes
1answer
869 views

consul keeps looking for the dead server node

I have consul cluster in production which is integrated with terraform, ansible,nomad,docker,vault. My consul keeps looking for the dead node which was part of initial setup even after removing entry ...
2
votes
2answers
514 views

access consul from remote using DNS

i have installed consul on EC2 aws. i have 3 servers for consul = 11.XX.XX.1,11.XX.XX.2,11.XX.XX.3. i have 1 client for consul = 11.XX.XX.4 below is configuration file /etc/consul.d/server/config....
4
votes
2answers
4k views

Howto unseal vault server, running in a docker container

I have a docker compose setup that successfully starts consul (config here). Vault seems to start ok, except for some errors around setting the TTL (logs here). Further on, consul seems to be ...
1
vote
1answer
225 views

Howto Seed / Export Consul-backed Vault Store?

I can see howto seed / export data into and out of consul, at least using the HTTP interface (see here (or even here)). But how do you seed / export a consul-backed vault store? The only way I can ...
2
votes
1answer
827 views

nomad shows job as dead

I am new to nomad. We are using nomad in production along with docker, consul, vault, ansible. When I run a nomad job from my local machine, Job registers successfully but show status as dead. ...
3
votes
2answers
4k views

Format for hdr_sub pattern matching

I am trying to match the value of a header which has a space in it and cannot figure out what regex expressions haproxy likes. The header I'm after looks like this: X-Request-ID:'Foo: Bar' I would ...
0
votes
1answer
762 views

What are the possible causes of a curl protocol error?

I'm getting the following error with curl: # curl -vvvv https://192.168.99.100:8501/ui * Trying 192.168.99.100... * Connected to 192.168.99.100 (192.168.99.100) port 8501 (#0) * WARNING: using IP ...
4
votes
1answer
2k views

Why would using MongoDB in lieu of etcd as a key value store be a good or bad idea? [closed]

I'd like to get general thoughts from the community as to why MongoDB for key/value would OR would not be a suitable replacement for etcd or other purpose-built key/value store system (consol, ...
1
vote
1answer
211 views

Consul service discovery - it is possible to return 1 host only?

I am building a cloud stack using consul for service discovery, but I've hit a wall, so I ask the people of internet about that. What I do want to do is registering a service in consul from multiple ...
1
vote
1answer
263 views

Zero downtime deployment with two machines and docker-networking

Is it possible to wire up a small zero downtime deployment (*1) with two Amazon EC2 instances? I'd like to roll my services regularly to a new EC2 instance to avoid manual OS updates on the instances ...
1
vote
1answer
1k views

Rolling update behind HAProxy

I am using an infrastructure platform consisting of docker containers running on a CentOS host. Scaling multiple containers through docker compose. Consul for service discovery. Registrator for ...