Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
Questions tagged [consul]
11 questions
8
votes
1 answer
How to manage Consul and its quorum in auto-scaling environments?
We have auto-scaling Docker environments in which we use Consul for service discovery. These environments can add or remove one instance every few minutes.
Our early Consul testing showed that it was very easy for Consul to loose its quorum. Perhaps…
Alexandre
- 1,965
- 15
- 24
6
votes
2 answers
How to visualize dynamic microservice architecture running with Consul?
Using Consul, you could allow your teams decentrally deploy and run microservices with dynamic dependencies.
It is also possible to list the services: /catalog/service/:service
Now, how to assess these dependencies automatically if the architecture…
Ta Mu
- 6,792
- 5
- 43
- 83
5
votes
1 answer
Consul: how to remove dead client nodes quickly
Background: When running Consul client-mode in AWS, EC2s are constantly getting replaced, which results in a lot of dead client nodes when looking at the Consul UI or via consul members.
Already tried to enabled reconnect_timeout, leave_on_terminate…
Casper
- 151
- 1
- 4
2
votes
0 answers
How to change log source in Nomad?
I have a CLI application which runs on Nomad,
task "create-cli" {
driver = "docker"
config {
image = "cli-app:local"
tty = true
auth_soft_fail = true
}
}
Now on Nomad web UI, if I pull up logs, I see CLI…
Nikhil.Nixel
- 121
- 2
1
vote
1 answer
Consul cluster does not work as expected when one of server is down
I guess, the main purpose of a cluster is failure tolerance. However, when I start the following consul cluster, in docker, it is not the case and I don't understand why.
services:
# docker network create --driver=bridge discovery-network
#…
OlivierTerrien
- 113
- 5
1
vote
1 answer
Running consul in the background using Chef
I am trying to create a Chef cookbook that will run Hashicorp Consul in the background and will continue with the rest of the recipe and not get hung on starting Consul.
I have tried the & method at the end of the command but when chef-client exits…
Josh Kirby
- 11
- 4
1
vote
1 answer
consul throwing an error
Trying to run consul on my system.
Have followed link to download consul:
consul and consul-template setup
consul agent -server -bootstrap-expect 1 \
-data-dir /tmp/consul -node=agent-one \
-bind=127.0.0.1:8500 \
-client=0.0.0.0 \
…
Ravat Tailor
- 153
- 6
1
vote
1 answer
Consul with Nginx, not using docker
I am from development background and totally new to DevOps, I want to setup consul for service discovery for my micro-services, services are reverse proxied by Nginx. Now I want to configure Nginx with the consul, we are not using dockers as of…
Ravat Tailor
- 153
- 6
0
votes
2 answers
Is there a good standard to follow when choosing a service mesh for your microservice application?
The industry appears to have chosen the de facto standards for containers (docker) and orchestration (kubernetes) but this doesn't appear to be the case for the options for implementing a service mesh.
Are there some good standards to follow when…
Wunderbread
- 177
- 5
0
votes
1 answer
Consul Helm chart: Connect Injector service not working
Below is my config that I am applying over the latest version of the chart (0.4.0).
The consul client daemonset pods come up and successfully register with the cluster.
The connect injector webhook deployment comes up and shows as running…
Elocnatsirt
- 1
- 6
0
votes
0 answers
Getting Empty reply from server when curling using Consul - Config entry not found for \"proxy-defaults\" / \"global\"
This question is related to Consul.
I am struggling with Consul for a while to get things working. To summarize I have 1 K8S and 1 Nomad cluster. I also have 1 Consul Server deployed externally of the above clusters. So far I have connected both of…
Stackn00b
- 1
- 2