Specify node using header

Hi folks,

We’ve a service and route that sits in front of four nodes. Two in the cloud and two on prem. Would you know if it’s possible to configure the kong route in such a way that we could include a custom header, say
target: CLOUD
target: PREM
that would allow us to specify that the request gets either routed to a node in either the cloud or on-prem?
Creating their own routes isn’t really an option at the minute.


we can use route by header to route to service by custom header Admin API - v2.3.x | Kong - Open-Source API Management and Microservice Management

Thanks Narate but that just seems to be an alternative way to specify a service/route combination as opposed to isolating out a particular node behind a service.