consul Questions
3
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...
1
We run our stack on the Google Cloud Platform (hosted Kubernetes, GKE) and have a Consul cluster running outside of K8s (regular GCE instances).
Several services running in K8s use Consul, mostly ...
Cosmogony asked 20/4, 2017 at 7:28
2
Solved
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 ba...
Chloroprene asked 7/10, 2019 at 13:14
4
I want to register my WebAPI to Consul service discovery and for that I should provide URL of my WebAPI (for example: http://service1.com) and health check endpoint (http://service1.com/health/chec...
Attalanta asked 10/10, 2018 at 13:15
4
I've created a bunch of test services in my consul cluster I wish to remove, I have tried using the /v1/agent/service/deregister/{service id} - and ensured it runs fine on each node - I can see thi...
Intercellular asked 24/1, 2017 at 0:22
2
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 t...
Croft asked 18/6, 2015 at 9:19
1
Solved
I am confused when to use spring cloud config server and consul.
Both will read configurations files in their own ways.
Can you please let me know when use spring cloud config server and when to us...
Spears asked 28/3, 2019 at 12:8
2
Solved
When Prometheus uses Consul's auto-discovery feature to get the list of targets to monitor, it also gets Consul servers themselves. This is great - we want to monitor these guys with Prometheus. Th...
Insomniac asked 1/11, 2016 at 7:16
5
Solved
In Consul you can have many agents as servers or clients. Amongst all servers one is chosen as the leader. From the agent's point of view, how does it know it is the leader?
Pintail asked 31/12, 2014 at 17:45
1
Solved
We are choosing the best option for implementing a leader election to achieve high availability. Our goal is to have only a single instance active at any given time. We are using Spring Boot to dev...
Disappointment asked 23/1, 2019 at 13:51
3
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 addi...
3
Solved
I am using Vault Docker image with Consul Docker image as its storage.
My problem is that if supposedly the Consul container will go down, and I will try to run a new container, I need to init the ...
Lennox asked 27/9, 2018 at 11:18
2
I have created Ngnix-Consul Docker setup referred https://github.com/nginxinc/NGINX-Demos/tree/master/consul-template-demo.
And have created many microservices. So All the microservices are access...
Gid asked 19/5, 2018 at 9:41
1
Aim: Get a docker container to use the DNS provided by the host machine, which is a consul agent running in another container, to access services available via traefik reverse proxy.
Setup
Host ma...
2
Solved
What are the different ports used by consul? What is the purpose of each port? Is there any way to configure consul to run using different ports?
1
Solved
I am running the Spring Cloud Consule example from link::https://howtodoinjava.com/spring/spring-cloud/consul-service-registration-discovery/. When I am running the http://localhost:8098/getSchoolD...
Actinism asked 12/4, 2018 at 8:40
1
Referring the below documentation of consul for HTTP API
https://www.consul.io/api/kv.html
recurse (bool: false) - Specifies if the lookup should be recursive
and key treated as a prefix ins...
Com asked 23/2, 2018 at 13:29
6
I am deploying a simple hello world nginx container with marathon, and everything seems to work well, except that I have 6 containers that will not deregister from consul. docker ps shows none of t...
Chanachance asked 27/8, 2015 at 20:57
1
Solved
I am creating a Spring Boot application, which will read configuration like DB properties from Consul. But I am not able to read the key value from Consul using my application. Following is, what I...
Viviennevivify asked 30/11, 2017 at 5:13
1
I'm trying to create a Spring cloud microservice application using Zuul and Consul.
I have 2 components in my project:
api-gateway microservice using Zuul
Hello world microservice (a simple hell...
Undis asked 23/11, 2015 at 18:24
6
Solved
How can I access to consul UI externally?
I want to access consul UI writing
<ANY_MASTER_OR_SLAVE_NODE_IP>:8500
I have try doing a ssh tunnel to acces:
ssh -N -f -L 8500:localhost:8500 [e...
Recondite asked 1/2, 2016 at 14:11
2
Solved
I'm using Spring Cloud Consul for Distributed Configuration with Consul and all goes fine. All configuration is currently and successfully read from Consul server on startup of the application. But...
Inveigh asked 31/3, 2016 at 15:43
3
Solved
We're dockerizing our micro services app, and I ran into some discovery issues.
The app is configured as follows:
When the a service is started in 'non-local' mode, it uses Consul as its Discover...
Handy asked 7/8, 2017 at 16:50
3
Solved
I'm new to docker and microservices. I've started to decompose my web-app into microservices and currently, I'm doing manual configuration.
After some study, I came across docker swarm mode which ...
Pinette asked 5/2, 2017 at 15:52
1
Solved
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 wit...
Leonelleonelle asked 14/5, 2017 at 22:31
© 2022 - 2024 — McMap. All rights reserved.