Questions tagged [consul]

Consul is a tool for discovering and configuring services in the infrastructure.

Consul is a tool for discovering and configuring services in your infrastructure.

Questions that are about:

can have this tag.

A distinguishing feature is the usage of gossip protocol for propagating the data between cluster nodes which makes it decentralized and scalable. Do notice that provides additional features like the support for multiple datacenters. Unless those questions have a programming related edge, those question are better fitted for ServerFault.

Adapted from the Introduction page of the Consul website.

1162 questions
9
votes
1 answer

ACL not getting enabled in consul

I have setup consul on a single instance. The web-ui is running perfectly but the ACL are not enabled. Previously I was not having any config file but now I have created a config.json file in /etc/consul.d/bootstrap/ with the following content. { …
Ajeet Khan
  • 8,582
  • 8
  • 42
  • 65
9
votes
4 answers

How can I read consul SRV records in my go application?

I am trying to implement consul for service discovery, and I am having trouble with two things: connecting to a custom DNS server, and formatting my net.LookupSRV() request. Here is what I'm trying to look up from within my go app: $ dig @127.0.0.1…
ben schwartz
  • 2,559
  • 1
  • 21
  • 20
8
votes
2 answers

Using Consul with Azure App Services

I'd like to have all of my configuration settings all in one place for all of my azure web app services, as well as resources outside of Azure. Consul's key value store seems like it could be a good fit (I'm happy to hear other suggestions if…
Giovanni Galbo
  • 12,963
  • 13
  • 59
  • 78
8
votes
1 answer

Is a traefik config with both docker swarm and consul backend possible?

Are the consul and docker swarm configuration backends compatible? My requirement is that I need to start N traefik containers as a docker service, where they get their dynamic frontends/backends via docker swarm but I also need all N of the…
bitsofinfo
  • 994
  • 3
  • 16
  • 34
8
votes
1 answer

Docker-ized Consul, Zookeeper and Kafka in Amazon-ECS

I’m trying to deploy a dockerized Kafka (with Zookeeper) to AWS. I’ve combed through several resources, and got close. But when I ssh into my Kafka boxes in AWS, I can see that Kafka is exiting with -1. I can only assume that Kafka can’t reach…
Nutritioustim
  • 2,686
  • 4
  • 32
  • 57
8
votes
1 answer

Can consul support large key/value store

We are planning to put our dynamic configuration in hierarchical Consul KV store. Data is approx 10,000 items and will grow to several thousands as we scale. we need several nodes (dozens) to wait for updates on the hierarchy root. Is that a scale…
Kerberos
  • 103
  • 1
  • 6
8
votes
2 answers

How do config tools like Consul "push" config updates to clients?

There is an emerging trend of ripping global state out of traditional "static" config management tools like Chef/Puppet/Ansible, and instead storing configurations in some centralized/distributed tool, of which the main players appear to…
smeeb
  • 27,777
  • 57
  • 250
  • 447
7
votes
3 answers

CheckID does not have associated TTL

I'm trying to utilize Consul .NET API to register and fire health checks via TTL. First I'm registering my service with following code: var address = node.Address; var id = ServiceId(address); var registration = new AgentServiceRegistration { ID…
Bartosz Sypytkowski
  • 7,463
  • 19
  • 36
7
votes
3 answers

Multiple frontend rules in Traefik Consul integration

I'm using Traefik to load balance across different services registered in Consul. I'm using the consul-catalog configuration and overriding a front end routing rule for one of the services by adding a tag when defining the service in…
David Genn
  • 709
  • 4
  • 11
7
votes
4 answers

How would you use Hashicorp's Nomad 'template stanza' to generate an nginx config file through the Nomad job file?

With the assumption that Consul and Nomad has been configured to run on a pool of resource. How would you rendered a template file for the sole purpose of generating e.g. an Nginx 'default.conf' file. Using the template stanza configuration below,…
dev_a.y
  • 133
  • 2
  • 7
7
votes
1 answer

Accessing consul UI running in docker on OSX

I have a problem similar to How to access externally to consul UI but I can't get the combinations of network options to work right. I'm on OSX using Docker for Mac, not the old docker-machine stuff, and the official consul docker image, not the…
Ernest Mueller
  • 212
  • 2
  • 10
7
votes
2 answers

Docker swarm: How to manually set node names?

For some background on my environment: I have docker swarm running on 3 ubuntu 14.04 vagrant boxes. The swarm master is running on 1 machine (with consul) and the other 2 machines are running swarm workers that are joined to the master. I set up…
Alex Cohen
  • 5,596
  • 16
  • 54
  • 104
7
votes
3 answers

Disabling Spring cloud consul when running Test

I like to run my unit test with test spring profile without consul. I'm trying to use spring.cloud.config.enabled:false and disabling EnableDiscoveryClient annotation for test profile but it doesn't work. I'm using spring.cloud.consul…
youssef Liouene
  • 873
  • 6
  • 15
  • 28
6
votes
2 answers

Eureka and Consul

I am implementing a service discovery and I evaluating two options: Eureka and Consul. Help me decide! I am leaning towards Eureka, but I need to clear a main tech problem. My infrastructure is based on openshift. I can have multiple containers…
6
votes
3 answers

Can you use Consul instead of Zookeeper for Kafka

I am looking at using Kafka but the documentation states that I need to set up Zookeeper. I already have a service discovery set up, I am using Consul. I don't want to have to look after Zookeeper as well. Can you use Consul instead of Zookeeper to…
Carl Thomas
  • 3,605
  • 6
  • 38
  • 50
1 2
3
77 78