Skip to content

Instantly share code, notes, and snippets.

@fzankl
Created January 24, 2021 17:30
Embed
What would you like to do?
YARP - Configuration via appsettings.json with load-balancing specified
...
"Clusters": {
"cluster1": {
"LoadBalancingPolicy": "RoundRobin",
"Destinations": {
"cluster1/destination1": {
"Address": "https://localhost:5001/"
},
"cluster1/destination2": {
"Address": "https://localhost:5002/"
}
}
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment