Open Closed

DbMigrator into k8c #4925


User avatar
0
AbpRaven created

Does ABP have a feature out of the box to parallel migration process inside Kubernetes cluster as Kubernetes Jobs to distribute the load between instances, rather than parallel migration process using threads within one Job for all applications on one instance? It would be really useful during the project growing because when you have >100 microservices with migrations, one Job to migrate all applications in parallel look, at least, like a workload with enough resources consumption.

Or maybe there is a feature to run DBMigrator per application/microservice rather than collect all migrations from all applications to run migration process for all of them?

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Actually, we've already partially done that, you can see that all app services have migration event handlers

    You can refer to this method to achieve a complete distributed migration

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11