简体   繁体   中英

Improving CD Pipeline with Service fabric

We have web API's build on service fabric as well as some web projects in web apps in Azure. We want to easily swap back to the older version of the applications at our deployments and improve the CD pipeline.

So what come up with is creating an other app for staging for service fabric and route traffic whether that's gradually move users to the instance of the new version, or just flip a switch and send all your traffic to the new version all at once.

We need a solution that would both support Webapps and Service fabric. Providing patterns and experience for stateful services would be great.

References

A.Web Apps Slot swapping

https://azure.microsoft.com/en-us/resources/videos/azure-websites-deployment-slots-for-staging-sites/

B.Continuous Delivery Pipeline 在此处输入图片说明

PS: I know that swaps don't make sense for stateful services. So rolling upgrades are must if we want to keep your data and keep it consistent.

Consider using Azure Api Management, which now has proper support for Service Fabric (check their trello). It should solve the versioning for both as it is external and agnostic to the underlying tech, except it doesn't provide the gradual increase in traffic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM