consul Questions
2
Solved
We are primarily a VM based environment with a lot of microservices that need client discovery, configuration management etc. So decided to use Hashicorp Consul.
we are facing an issue: hostname w...
Antiphonal asked 23/9, 2019 at 9:34
3
Solved
I am trying to run the official docker image by doing the following
docker pull consul
docker run -d --name=dev-consul -p 8500:8500 consul
When I try to access the consul server using curl I get...
3
Solved
I have read the similar question related to this problem. It ended up with frustration.
I installed consul with docker. I run the following command. docker run --name consul -d -p 8500:8500 consul...
Spoonfeed asked 4/11, 2021 at 13:38
3
There is a smart way to get the list of services (or containers) of docker-compose files from inside of a container.
I would prefer not to using volumes, or passing statically the compose-file to c...
Kain asked 8/6, 2017 at 8:44
4
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'...
Calm asked 29/2, 2016 at 11:20
2
Solved
I am getting this error when I am running any "consul members" on consul server and clients. The port is in LISTENING state and I made sure there is no firewall blocking. I get this error when in r...
Schoolroom asked 2/5, 2017 at 5:18
5
Solved
I'm trying to automate vault v0.8.0 deployment (vaultproject from Hashicorp) with a consul v0.9.1 backend.
Because it is a trial and error process I need to run "vault init" a couple of times (unt...
Grievance asked 10/8, 2017 at 4:48
1
I am using consul(docker.io/bitnami/consul:1.10.2-debian-10-r0) as my register center, first I add the spring consul dependencies(2.2.7.RELEASE) using gradle:
implementation "org.springframewo...
2
Solved
So I have 2 similar deployments on k8s that pulls the same image from GitLab. Apparently this resulted in my second deployment to go on a CrashLoopBackOff error and I can't seem to connect to the p...
Reisinger asked 29/11, 2018 at 9:21
4
Solved
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' fi...
Maretz asked 23/3, 2017 at 0:16
3
Solved
I am trying to spin a Consul server on docker container and use it as config server for my SpringBoot cloud application. For that I want to have some pre-configured data(Key-Value pairs) in Consul....
Ethelstan asked 24/4, 2017 at 21:27
6
Solved
I have:
one mesos-master in which I configured a consul server;
one mesos-slave in which I configure consul client, and;
one bootstrap server for consul.
When I hit start I am seeing the follow...
2
Solved
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 swar...
Firetrap asked 31/5, 2016 at 0:32
3
I have a Terraform script with some variables populated from Consul. I want to use this script in two different scenarios:
Scenario 1. Everything goes right using default values from Consul.
Scen...
1
I don’t understand the difference between consul’s agent api and catalog api
Although the consul document has always emphasized that agent and catalog should not be confused,But there are indeed ma...
Inconsumable asked 6/1, 2021 at 6:24
1
Solved
Nomad has three different ways to map ports:
Network stanza under group level
Network stanza under config -> resources level
port_map stanza under config level
What is the difference and when ...
Sabec asked 26/8, 2020 at 16:31
2
Solved
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 goo...
Coriecorilla asked 29/1, 2018 at 18:18
4
Solved
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 tryin...
1
Solved
I have a Main application and multiple worker nodes, which are registered in consul. I want to send data to the worker nodes, by load balancing. Using the consul API for golang, I'm able to get the...
1
Solved
I'm in the process of upgrading an environment with new versions of Ubuntu, Consul and Spring Boot. At first glance, everything seems to be working just fine. The app connects to Consul, requests i...
Iceman asked 15/5, 2020 at 7:7
1
Solved
I am having tough time understanding the distinction between Envoy and Consul. What are the use cases for each one and what are the advantages ?
They both seem to be providing service mesh, observ...
Oma asked 1/5, 2020 at 20:58
2
I need to get all the consul kv values using http api. Currently I can get the one value with the following command.
curl -k -X GET https://consul.banuka1.us-east-2.test:8543/v1/kv/banuka-test/te...
2
Solved
What is the best way to get the current docker container IP address within the container itself using .net core?
I try to register my container to a Consul server which is hosted on the Docker hos...
Varitype asked 20/8, 2018 at 7:5
0
I have a setup of 1 master and 2 worker nodes running docker swarm. I deployed Traefik + Consul using the setup below:
version: '3.3'
services:
consul-leader:
image: consul:latest
command:
- ...
Teofilateosinte asked 28/3, 2020 at 16:37
2
Solved
I'm trying to self register my ASP.NET Core application to Consul registry on startup and deregister it on shutdown.
From here I can gather that calling the http api [put /v1/agent/service/registe...
Trevino asked 13/9, 2016 at 9:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.