Questions tagged [service-discovery]

Network protocols which allow automatic detection of devices and services offered by these devices on a computer network.

Service discovery protocols are network protocols which allow automatic detection of devices and services offered by these devices on a computer network. Service discovery requires a common language to allow software agents to make use of one another's services without the need for continuous user intervention.

Source: http://en.wikipedia.org/wiki/Service_discovery

618 questions
3
votes
4 answers

SSH to Amazon EC2 using instance ID only

I would like to turn on/off some of my Amazon EC2 instance, but this causes the IP and all DNS names to change. Therefore when I boot my machine again, all my SSH configurations are lost since I was connecting using the previous DNS name. Is there a…
Cyril Duchon-Doris
  • 12,964
  • 9
  • 77
  • 164
3
votes
3 answers

integrate eureka with kubernetes issue

i have a (spring boot/spring cloud) application (micro-service 'MS' architecture) built with netflix tools and which i want to deploy it on kubernetes cluster (one master and 2 minions) to get advantage from its orchestration fact. By the way, i…
3
votes
1 answer

Which approach is better for discovering container readiness?

This question is discussed many times but I'd like to hear some best practices and real-world examples of using each of the approaches below: Designing containers which are able to check the health of dependent services. Simple script whait-for-it…
Arsen
  • 509
  • 1
  • 5
  • 8
3
votes
2 answers

Does my docker images need its own consul client instances?

I've got a dockerized application split in several containers (a few frontend and backend servers, load balancer, mysql, elasticsearch, etc.). The configuration of the load balancer needs to know which containers are up and so I'm registering…
Jens Kohl
  • 5,899
  • 11
  • 48
  • 77
3
votes
5 answers

Spring Consul - disable for unit tests

Updated My class listed below (ServiceDiscoveryConfiguration) is never being utilized. Even if I remove the @EnableDiscoveryClient to attempt to completely avoid the setup, it still attempts to connect to Consul. The only thing that worked for me…
el n00b
  • 1,957
  • 7
  • 37
  • 64
3
votes
0 answers

Android's BluetoothGatt API is automatically discovering services after connecting and breaks afterwards

I'm trying to implement a BLE feature in my Android application and I'm facing some trouble using the BluetoothGatt api. The actual problem is the dreading status 129 (GATT_INTERNAL_ERROR) every time I call mGatt.discoverServices(). After debugging…
3
votes
1 answer

Onvif device not found by Onvif device manager

I'm trying to implement a camera device server with onvif profile s standards using gsoap. on ws dynamic discovery, when I tried to run code in https://github.com/mpromonet/ws-discovery/blob/master/gsoap/server.cpp, Onvif device manager does not…
rotringuser
  • 113
  • 15
3
votes
2 answers

consul first bootstrap with spring cloud config

Iam using spring-cloud-config for centralized configuration and consul for service discovery. Like eureka first bootstrap - does spring support consul first bootstrap i.e on booting up a client service - I should look up the config server through…
Swetha V
  • 300
  • 5
  • 16
3
votes
3 answers

microservices & service discovery with random ports

My question is related to microservices & service discovery of a service which is spread between several hosts. The setup is as follows: 2 docker hosts (host A & host B) a Consul server (service discovery) Let’s say that I have 2 services:…
royeectu
  • 31
  • 2
3
votes
1 answer

Kubernetes multi-cluster service discovery

Relates to How to call a service exposed by a Kubernetes cluster from another Kubernetes cluster in same project. Asking again since Kubernetes has been changes a lot since July. Context: I'm working on an infrastructure with multiple clusters…
3
votes
1 answer

Where does kubernete's kubelet create service environment variables?

I'm creating a kubernetes cluster, and in it I have several services. I know based on https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/services.md#discovering-services I have two options. use the environment variables set by the…
Christian Grabowski
  • 2,782
  • 3
  • 32
  • 57
3
votes
1 answer

How to use spring cloud from nodejs?

I am now thinking how to combine spring cloud with nodejs. So I want to use nodeJS as middle tier, which is providing api to frontend angularjs application, but once nodeJS is getting api request, it will trigger other http request to backend spring…
user3006967
  • 3,291
  • 10
  • 47
  • 72
3
votes
2 answers

Using Consul for tracking down all the REST endpoints

Requirement : 5 different internal apps exposing REST endpoints. More applications are coming which would expose further new endpoints. Need the ability when these apps are deployed, for the new endpoints to auto register.. and some kind of a web ui…
hackmabrain
  • 457
  • 1
  • 6
  • 21
3
votes
1 answer

Not receiving remove events on PathChildrenCache

I'm using Apache Curator for service discovery, and PathChildrenCache to listen for events when a service is added/updated/deleted. PathChildrenCache pathCache = new PathChildrenCache(client, "/directory",…
bachr
  • 5,780
  • 12
  • 57
  • 92
3
votes
1 answer

Spring Cloud: Eureka Client registration/deregistration cycle

To familiarize myself with Spring Cloud's Eureka client/server mechanism, I try to connect a client to the Eureka server and toggle the connection on/off every 5 minutes to see how the Eureka server handles this. I have two Eureka clients. The first…