克隆或迁移正在运行的 Kubernetes 集群
你的集群作为一个整体一起搬走:节点、配置和数据。搬到另一台机器,或者另一个数据中心。切换只需几秒实测完成,不用等一整个周末。
Velero 只能恢复备份。Cluster API 只能克隆集群的骨架。Rediacc 能直接迁移运行中的集群,数据一起带走。
输出仅作示例,实际运行可能有更多日志。 CLI reference: rdc cluster migrate
集群会被困在最初搭建的地方
Kubernetes 让你的应用可以随处运行,但集群本身做不到。数据始终留在一个数据中心。想要搬走,就是一个重建项目:新节点、新存储、从备份恢复、重新测试所有东西。所以大多数团队从来不搬家,而供应商很清楚这一点。
整个集群就是一组文件
集群镜像加存储卷
每个节点都从一个镜像文件启动。每个存储卷都是一个 Ceph RBD 镜像。合在一起,就是整个集群:应用、配置和数据。
原地克隆
一条命令,写时复制克隆所有镜像。在我们实验室里,一个 2 节点集群 46 秒内完成克隆,父级集群全程保持运行。
短暂切换完成迁移
Rediacc 会在集群运行时预先复制数据,然后停止服务、发送最终增量,再在新机器上重新启动。实测切换时间:16 秒。
为什么集群能像文件一样说搬就搬
每个节点都从 btrfs 上的一个镜像文件启动。每个存储卷都是一个 Ceph RBD 镜像。复制集群,就是对这些镜像做写时复制克隆。没有导出,没有格式转换,没有恢复步骤。这就是为什么克隆只需几秒,而不是几个月。
保留你的 Kubernetes,获得迁移能力。
保留你的 Kubernetes
Rediacc 可以帮你运行 k3s,也可以直接接入你已有的集群。存储卷基于 ceph-csi RBD。你的配置文件还是你的。
真正的数据中心迁移能力
可以部署在你自己的 KVM 主机上,也可以用 Linode 这类支持私有 VLAN 的云。节点池会把磁盘密集型的 Ceph 节点和 CPU 密集型的 Kubernetes 节点分开管理。
一套思路,管理一切
一个 Kubernetes 应用就是一个命名空间。像克隆普通仓库一样克隆它:1 到 5 秒,数据也一起带走。用的还是你操作 Docker 仓库时那套命令。
没有别的工具能带着数据迁移运行中的集群
备份工具只能先停机再恢复。Cluster API 只克隆骨架,不带数据。RBD 镜像只复制存储卷,不复制整个集群。Rediacc 把这一切全部搬走。
| 功能 | Velero | Kasten K10 | Cluster API | RBD Mirroring | Rediacc |
|---|---|---|---|---|---|
| 备份应用和存储卷 | ✓[4] | ✓[5] | ✗ | Volumes only[9] | ✓ |
| 连数据一起迁移整个集群 | Stop and restore[6] | Stop and restore[7] | Shape only[8] | ✗ | ✓ |
| 克隆运行中的集群,数据一起带走 | ✗ | ✗ | ✗ | ✗ | ✓ |
| 几秒内克隆单个应用(命名空间) | ✗ | ✗ | ✗ | ✗ | ✓ |
| 无需完整重写即可复制数据 | ✗ | ✗ | ✗ | Async copy[10] | ✓ |
| 计划迁移时,切换时间短且可实测 | ✗ | ✗ | ✗ | ✗ | ✓ |
- Flexera, "2024 State of the Cloud Report," 2024. "27% of cloud spend continues to be wasted." www.flexera.com
- Flexera, "2025 State of the Cloud Report," 2025. "With cloud budgets already exceeding limits by 17%, organizations are increasingly turning to managed service providers." www.flexera.com
- AWS, "Amazon S3 Pricing — Data Transfer," 2024. "Data Transfer OUT from Amazon S3 to Internet: $0.09 per GB for the first 10 TB/month." aws.amazon.com
- Velero backs up Kubernetes cluster resources and persistent volumes and restores them into a cluster. velero.io
- Kasten K10 provides backup and restore of Kubernetes applications, including application data. docs.kasten.io
- Velero cluster migration restores a backup into a new cluster; workloads are recreated from the backup point, not moved live. velero.io
- Kasten K10 migrates applications between clusters by exporting a restore point and importing it into the target cluster. docs.kasten.io
- Cluster API's clusterctl move relocates Cluster API objects (the cluster's definition) to another management cluster; it does not move workload data. cluster-api.sigs.k8s.io
- Ceph RBD mirroring replicates block device images between Ceph clusters; it covers volumes, not Kubernetes cluster state. docs.ceph.com
- Ceph RBD mirroring is asynchronous, based on journaling or periodic snapshots, and is designed for disaster recovery. docs.ceph.com