I am trying to develop RDS (Route Discovery Service) to be used with lyft/envoy. As per docs RDS API URL should follow GET /v1/routes/(string: route_config_name)/(string: service_cluster)/(string: service_node)
. What I want to know is the usage of service_cluster and service_node.
Currently I havent used those for any specific task, just the GET path is matched and a single route is defined. Which is working just fine. I checked what value envoy sends for those and got service_cluster: lax
& service_node: node1
, not much of help. Docs says these value can also be set via CLI options.
What is it supposed to be used for? Am I missing something?