service-discovery

Consul Agent Service Registrations on other nodes are not fetchable from Rest API but is showing on UI

梦想的初衷 提交于 2021-02-11 15:10:30
问题 We have a consul cluster of 3 servers and registering agent services on any of them via Rest Api. In UI, registrations of a server are visible on other servers as well. For e.g. registration on server A is visible on server B's UI (accessible by http://serverb:8500/). However when hitting server B via Rest Api, it only shows its own registrations and do not show server A registration. Server are started as Server A consul -server -ui bootstrap-expect=1 -node=ServerA -data-dir=D:\data -bind=11

Hazelcast member discovery with PCF Registry Service and hazelcast-eureka-plugin

故事扮演 提交于 2021-01-07 04:13:17
问题 Running several instances of application with embedded hazelcast on PCF. My goal is to chain hazelcast members into cluster. For purpose of member discovery I am using hazelcast-eureka plugin . I am able to achieve member discovery using simple Eureka Server app, passing eureka URL to hazelcast-eureka plugin , using this example. Now I want to use PCF Registry Service instead of Eureka Server app. For that purpose I am using EurekaOneDiscoveryStrategyFactory with EurekaClient autowired which

Hazelcast member discovery with PCF Registry Service and hazelcast-eureka-plugin

青春壹個敷衍的年華 提交于 2021-01-07 04:12:35
问题 Running several instances of application with embedded hazelcast on PCF. My goal is to chain hazelcast members into cluster. For purpose of member discovery I am using hazelcast-eureka plugin . I am able to achieve member discovery using simple Eureka Server app, passing eureka URL to hazelcast-eureka plugin , using this example. Now I want to use PCF Registry Service instead of Eureka Server app. For that purpose I am using EurekaOneDiscoveryStrategyFactory with EurekaClient autowired which

Hazelcast member discovery with PCF Registry Service and hazelcast-eureka-plugin

橙三吉。 提交于 2021-01-07 04:11:37
问题 Running several instances of application with embedded hazelcast on PCF. My goal is to chain hazelcast members into cluster. For purpose of member discovery I am using hazelcast-eureka plugin . I am able to achieve member discovery using simple Eureka Server app, passing eureka URL to hazelcast-eureka plugin , using this example. Now I want to use PCF Registry Service instead of Eureka Server app. For that purpose I am using EurekaOneDiscoveryStrategyFactory with EurekaClient autowired which

Hazelcast member discovery with PCF Registry Service and hazelcast-eureka-plugin

前提是你 提交于 2021-01-07 04:09:19
问题 Running several instances of application with embedded hazelcast on PCF. My goal is to chain hazelcast members into cluster. For purpose of member discovery I am using hazelcast-eureka plugin . I am able to achieve member discovery using simple Eureka Server app, passing eureka URL to hazelcast-eureka plugin , using this example. Now I want to use PCF Registry Service instead of Eureka Server app. For that purpose I am using EurekaOneDiscoveryStrategyFactory with EurekaClient autowired which

NGINX Reverse Proxy + ngx_upstream_resolveMK - Trying to resolve SRV from ECS Service Discovery Route53 Auto Naming

我们两清 提交于 2021-01-01 06:38:54
问题 I'm currently having an issue with ECS Service Discovery and Route53 Auto Naming. I have added the Service Registry to the service and all the Hosted Zones records are being populated automatically. But I cannot seem to work out how to resolve the DNS SRV records with NGINX + ngx_upstream_resolveMK. # DNS RESOLVER resolver ns-x.awsdns-xx.com valid=10s; # UPSTREAMS upstream kibana { resolveMK servicediscovery.ecs service=kibana; } # HOST - kibana.example.com server { server_name kibana.example

NGINX Reverse Proxy + ngx_upstream_resolveMK - Trying to resolve SRV from ECS Service Discovery Route53 Auto Naming

依然范特西╮ 提交于 2021-01-01 06:37:19
问题 I'm currently having an issue with ECS Service Discovery and Route53 Auto Naming. I have added the Service Registry to the service and all the Hosted Zones records are being populated automatically. But I cannot seem to work out how to resolve the DNS SRV records with NGINX + ngx_upstream_resolveMK. # DNS RESOLVER resolver ns-x.awsdns-xx.com valid=10s; # UPSTREAMS upstream kibana { resolveMK servicediscovery.ecs service=kibana; } # HOST - kibana.example.com server { server_name kibana.example

prometheus dynamic metrics_path

我的未来我决定 提交于 2020-12-06 11:58:15
问题 Prometheus allows me to dynamically load targets with file_sd_config from a .json file like this #prometheus.yaml - job_name: 'kube-metrics' file_sd_configs: - files: - 'targets.json' [ { "labels": { "job": "kube-metrics" }, "targets": [ "http://node1:8080", "http://node2:8080" ] } ] However my targets differ in the metrics_path and not the host (I want to scrape metrics for every kubernetes node on <kube-api-server>/api/v1/nodes/<node-name>/proxy/metrics/cadvisor ) but I can only set the

prometheus dynamic metrics_path

為{幸葍}努か 提交于 2020-12-06 11:56:37
问题 Prometheus allows me to dynamically load targets with file_sd_config from a .json file like this #prometheus.yaml - job_name: 'kube-metrics' file_sd_configs: - files: - 'targets.json' [ { "labels": { "job": "kube-metrics" }, "targets": [ "http://node1:8080", "http://node2:8080" ] } ] However my targets differ in the metrics_path and not the host (I want to scrape metrics for every kubernetes node on <kube-api-server>/api/v1/nodes/<node-name>/proxy/metrics/cadvisor ) but I can only set the

Get TCP address information in ZeroMQ

浪子不回头ぞ 提交于 2020-07-18 10:03:27
问题 I want to connect clients to a server using ZeroMQ (java bindings, jzmq), but I need the TCP information badly, for example the TCP/IP address of a client request! The problem is, for being able to announce a service in the network I need to grab the TCP address of a request to be able to redirect clients to that service. The broker is a central "service registry" in that case. However, having ZeroMQ services on both sides, I do not see an option to retrieve that information. What I do now,