Questions tagged [consul]

Consul is one of the HashiCorp tools that is used for service discovery, configuration and orchestration.

Features:

  • Service Discovery
  • Health Checking
  • Key/Value Store
  • Multi Datacenter
50 questions
0
votes
1 answer

Consul, vault and postgres containers don't communicate

I'm trying to set up Consul with Vault for secrets management for Postgres with Docker. Here is my configuration Dokcerfile: FROM python:3.6-slim ENV VAULT_VERSION 0.11.1 ENV CONSUL_VERSION 1.2.3 RUN apt-get update \ && apt-get install -y \ …
kebie
  • 141
  • 1
  • 1
  • 7
0
votes
1 answer

consul keeps looking for the dead server node

I have consul cluster in production which is integrated with terraform, ansible,nomad,docker,vault. My consul keeps looking for the dead node which was part of initial setup even after removing entry from peers.json of the raft. Below is my consul…
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
0
votes
1 answer

What are the possible causes of a curl protocol error?

I'm getting the following error with curl: # curl -vvvv https://192.168.99.100:8501/ui * Trying 192.168.99.100... * Connected to 192.168.99.100 (192.168.99.100) port 8501 (#0) * WARNING: using IP address, SNI is being disabled by the OS. * Unknown…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
0
votes
0 answers

Authenticating to Hashicorp Consul from a VM

I am trying to understand how can I authenticate to Consul from a VM. I have Azure AD as IDP, but it's not clear from the documentation whether it can be used to retrieve JWT token to use it later to access Consul. Can someone please advice?
0
votes
0 answers

How to use open service mesh in kubernetes?

I am trying to test open service mesh for our application. No tags in serverfault for service mesh or servicemesh or osm or open service mesh,etc. So I kept istio as serverfault tag to this question as it is also a similar product of service…
sardar
  • 1
  • 2
0
votes
0 answers

why consul discovery return https on localhost but on server just return http?

I tested two scenarios by hashicorp consul 1.I implemented service discovery by hashicorp consul on .net7 , but when i want get service address from consul , it just return http of that service not https. I registered my services by registrator on…
0
votes
0 answers

Expose consul dns on one k8 cluster and use as stubdomains on core-dns of another k8 cluster

I basically have two production clusters, say K81 and K82. K81 is having all infrastructure micro-services and k82 is hosting the micro-services applications of the production website which needs the infrastructure service support running on K81.…
vjwilson
  • 129
  • 1
  • 6
0
votes
1 answer

Rabbitmq cluster on Nomad

I want to create a rabbitmq cluster in a nomad cluster. Right now I can run rabbitmq docker containers, but I can't create a cluster based on consul discovery. After containters starts i got this massages on every node: [warning] <0.229.0> Could not…
sflyer
  • 1
  • 3
0
votes
1 answer

Custom CRDs not getting deleted in aks cluster, how to delete that?

I have installed consul helm repository to default namespace. Now, want to change it to a custom namespace. So, deleted the help chart using helm uninstall command. Now, when I try to install again, getting error as CRDs are already configured…
uday kiran
  • 56
  • 5
0
votes
2 answers

How to reinstall consul on a different namespace?

I have installed consul on default namespace using helm. helm install -f config.yaml consul hashicorp/consul --version "0.32.1" I tried uninstall of consul using helm delete consul And installing again using. kubectl create namespace consul helm…
Sara June
  • 451
  • 1
  • 9
  • 28
0
votes
1 answer

Using SSH in check of Consul

I have a server with a dockerized Consul Agent (CA). In this CA, I want to run a script from the host who checks how many disk space left in a service check. For this, I created a service in the CA : { "service": { "name":…
M4kn4sh
  • 121
  • 1
  • 4
0
votes
1 answer

How to install Consul on azure kubernetes with policies enabled?

I have installed azure kubernetes with azure policy enabled. I followed the steps in the getting started guide of consul as is: link But when the consul is deployed, the pods are not deployed. When I checked the replicaset, the error is as…
Sara June
  • 451
  • 1
  • 9
  • 28
0
votes
1 answer

consul: increased the replicaset but new pods are not starting and getting Init:CrashLoopBackOff, how to fix that?

With single replicaset, the application is working. So I changed the replicaset to 3. Then, the other two copies of pods are not starting.: kubectl get pods customservice-c8645cd6-7gghm 0/3 …
uday
  • 352
  • 10
  • 30
0
votes
0 answers

consul routing is not happening, how to fix that?

My deployment and other yaml files for a sample app in consul: link The routing is not happening. Could anyone please check them and suggest what need to be fixed. The traffic is not entering the app at all. The steps I followed to install consul: I…
uday
  • 352
  • 10
  • 30
0
votes
1 answer

How to configure consul to access webpage from Ingress gateway

I am trying to configure ingress gateway for consul deployed in AKS. As per their documentation , I have created a sample deployment and ingress gateway to it. yaml files: github kubectl apply -f static-app/ I changed the static app service from…
uday
  • 352
  • 10
  • 30