perg_30607
11/20/2023, 8:28 AMperg_30607
11/20/2023, 8:36 AMvroldanbet
11/20/2023, 8:46 AMvroldanbet
11/20/2023, 8:50 AMvroldanbet
11/20/2023, 8:50 AMecordell
11/20/2023, 2:24 PMstable
is the only option upstream right now)
- Make sure they're all on the same version; you'll want to explicitly set the version
field when running multiple clusters.
- The status block of each SpiceDBCluster will indicate when there are new versions available
- Pick one one three SpiceDBClusters to be the "migration leader" and set spec.version = the next version
. That cluster will be the migration leader and run the migrations.
- Once that cluster has sucessfully upgraded, set the spec.version on the rest of the clusters. Optionally, you can set skipMigrations: true
on the non-migration leaders to rollout faster, though it's not a big deal if you don't; the other clusters will just run fast no-op migration jobs.
This is definitely deserving of a doc. Internally we have another operator that coordinates this rollout across multiple kube clusters, but it's highly specialized and at least right now we don't have plans for open-sourcing (but if that sounds like something you'd be interested in, let us know)