I am sending an http request with below header.
Header = {"InstanceId" : "1"}
How to route to an cluster(endpoint) using this header value i.e. 1
What i actually want to do in envoy.yaml :
If (header. InstanceId == 1)
Route to cluster A
Else If (header. InstanceId == 2)
Route to cluster B
Can someone please help me out. Thanks in advance.