Logical Cluster Migrations - What, Why and How
summary
KCP adds an alpha logical cluster migration API that copies raw etcd bytes to move a workspace (logical cluster) between shards while preserving UIDs and creation timestamps and keeping API exports/bindings intact. Migration runs four phases (prepare, dump via an ephemeral logical-cluster-dump resource, delete origin, unhide destination), demoed moving ~4.5 GB in ~3 minutes. Downsides: the workspace is offline during migration, feature gate must be enabled on all shards, encryption and leases currently break, migrations cannot be cancelled.
AI-written summary · about
chapters (17)
- 0:00Introduction to logical cluster migrations
- 2:05What are logical cluster migrations
- 4:15Why not just copy through the API
- 7:10Goals and non-goals of the feature
- 8:56Enabling and using the migration API
- 11:00Demo setup and binding the API
- 11:41Migration phases explained
- 14:36Live migration demonstration
- 16:23Impact on clients during migration
- 17:52Post-migration verification
- 18:34Drawbacks and current limitations
- 19:16Operational pitfalls to avoid
- 20:20Data encryption and migration issues
- 21:44Mixed environment considerations
- 22:04Future improvements and contributions
- 22:47Call for feedback and testing
- 23:08Q&A on horizontal scaling and re-homing
