-
Notifications
You must be signed in to change notification settings - Fork 864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to HotSwap #1447
Comments
This is for a new version of the app behind the proxy, right? Not a new version of the proxy? In general, YARP doesn't directly manage the destinations, you need an orchestrator for that. The general procedure is:
There's not currently a mechanism to gradually shift traffic from one to the other. With both destinations active at once you'd get traffic load balanced between them. There's some discussion here: #126 |
You're saying if I do like this:
->
YARP will automatically read the config file changes and server over a new DNS? So my pattern would be like?: New Code -> Staging Url If that's the path - should be easy enough to-do with Octopus Deploy. |
Yes, YARP will react to config changes live. Having a staging site is good too, but I was referring more to having both running side by side like this:
->
Chech health
Spin down old instance |
Thanks! We'll give this a shot! |
Triage: Looks answered. #126 will handle the slow rollout. |
If you're using YARP to manage .Net Core site and you're running off the exe.
What's the correct strategy to load and warm a new version of the site and then swap the old and new?
The text was updated successfully, but these errors were encountered: