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
0
votes
1 answer

consul dnsmasq and tls

I have a 3 node consul cluster and setup dnsmasq as described here: http://www.morethanseven.net/2014/04/25/consul/ Everything was working and I was able to query dns for a service using dig or nslookup. I enabled tls and I am no longer able to…
0
votes
1 answer

Consul configuration on multiple node

In consul documentation it says that the service configuration files should be stored in /etc/consul.d/ directory. I am running a 3 nodes cluster, do I have to cpy the consul.d on each node or will the sync will be done inside the cluster ?
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
0
votes
0 answers

Relating Consule and HAProxy

How does HAProxy and Consule relate each other? The vendor sites mentioned Consule is use for service discover and configuration while HAProxy use to load balance. So is it like first we have to make our service discoverable using Consule and then…
Harshana
  • 7,297
  • 25
  • 99
  • 173
0
votes
1 answer

spring cloud consul high cpu in a spring boot application

I setup a Spring boot application with @EnableDiscoveryClient and using Consul as the cloud provider. I noticed that this generates high cpu consumption due to ConsulCatalogWatch.catalogServicesWatch. Looking at the code, I noticed that the…
Jeff MAURY
  • 166
  • 3
0
votes
1 answer

Docker-Machine LS not showing SWARM on manual installation

I have successfully created my own Docker Swarm on Digital Ocean machines without using the "docker-machine create" docker SWARM hooks. My motivation for not using these hooks is to provide better bootstrapping and integration with my Consul…
echappy
  • 533
  • 5
  • 13
0
votes
1 answer

Bootstrap expect=1 in consul results in weird behavior in cluster

Trying to launch a cluster of nodes one at a time, and I'm a bit confused about the bootstrap-expect value. The way it is set up is that consul is launched with bootstrap-expect, then after it starts consul join is ran Currently, the deployment sets…
K2xL
  • 9,730
  • 18
  • 64
  • 101
0
votes
1 answer

Get health status for several services via one request in consul.io

There is method (/v1/health/service/) for one service. But i need periodically check state of several services. Now I have to send several HTTP requests for this. Is it possible to check state of services by passing array of names or something…
0
votes
1 answer

Spring cloud consul class not found RestTemplateCustomizer

I want to use spring cloud consul for Service discovery, but getting java.lang.ClassNotFoundException: org.springframework.cloud.client.loadbalancer.RestTemplateCustomizer , what am i missing here? my pom.xml
iamiddy
  • 3,015
  • 3
  • 30
  • 33
-1
votes
1 answer

Consul fabio microservices

Can you clarify pls what are the main steps to make Consul run on the local machine (not in dev mode(!)) to connect e.g. a microservice from another microservice, if it's possible using Fabio as a load balancer. Should I create a datacenter with acl…
Iren
  • 43
  • 4
-1
votes
1 answer

Connecting Frontend application with Backend via AWS ECS Service Discovery

I have a web application that consists of Frontend (built on ReactJS) and Backend (built on Python). Frontend: I have created a ECS Fargate service and attached aws application load balancer. Backend: I have created a ECS Fargate service and…
-1
votes
1 answer

Could not connect to consul agent, error was HTTPConnectionPool

I am using the Consul Ansible role playbook to install configure a new server to use consul. When I run my playbook it gives the following error (I have manullay turned no_log to true so I get more output): TASK [idealista.consul-role : Consul |…
albertski
  • 2,428
  • 1
  • 25
  • 44
-1
votes
1 answer

Can I use consul without Spring boot?

I can not use spring boot since the running an environment which is predefined by the hierarchy within the organization. The application server can support only servlet 3.0. Can I use consul with spring boot? I tried actuator with spring boot, it…
bobs_007
  • 178
  • 1
  • 10
-1
votes
1 answer

Service seems not be able to break out of docker-container

I have a go-micro service, and I want it to register at a Consul running in a container. When doing this just from the command prompt, this runs fine. I check the logs from the consul-container and see everything is okay. Registering and…
Bert Verhees
  • 1,057
  • 3
  • 14
  • 25
-1
votes
1 answer

Vsphere/Vmware and Consul cluster auto join

I have already implemented Consul cluster in AWS with AutoJoin and EC2 tagging. https://www.consul.io/docs/agent/cloud-auto-join.html Now I am trying to do them same on a VMware/Vsphere environment. I have done everything as the tutorial describes,…
kereza
  • 29
  • 3
-1
votes
1 answer

Using shell script to parse lines from a consul template file

As you can see the in the template file below , I have few variables declared (like MYSQL_ACCOUNT_PASSWORD , MYSQL_ACCOUNT_USERNAME etc) between "if" and "end" and I am looking forward to write a shell script to get all the variables in such file.…
santhu
  • 57
  • 2
  • 9
1 2 3
77
78