-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
I have given Service discovery a try via following config in cluster manager.
I am assuming that following should result in a call GET http://192.168.1.1:8080/v1/registration/my-service
as per reference Implementation (https://github.com/lyft/discovery)
"cluster_manager": {
"sds": {
"cluster": {
"name": "fooServiceDiscovery",
"type": "static",
"connect_timeout_ms": 250,
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://192.168.1.1:8080"
}
]
},
"refresh_delay_ms": 100
},
"clusters": [
{
"name": "myServiceGrpc",
"type": "sds",
"connect_timeout_ms": 250,
"lb_type": "least_request",
"service_name":"my-service",
"features": "http2",
"ssl_context": {
"alpn_protocols": "h2"
}
}
]
}
I could not get this to work. There was no call made to the service discovery server. Please help debug this and provide an example.