Skip to content

Cluster relocation #1261

Description

@sentaycan

Hello, I am copying my PVC to a cluster in a different region as below, but now I want to delete my source cluster and use my destination cluster as source cluster, what is the most optimal way to do this?

kubectl --context west2 -n mysql create -f - <<EOF apiVersion: volsync.backube/v1alpha1 kind: ReplicationDestination metadata: name: mysql spec: rsyncTLS: copyMethod: Snapshot capacity: 8Gi accessModes: ["ReadWriteOnce"] storageClassName: gp3-csi volumeSnapshotClassName: csi-aws-vsc keySecret: east-west serviceType: LoadBalancer EOF
kubectl --context east2 -n mysql create -f - <<EOF apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: name: mysql spec: sourcePVC: data-mysql-0 trigger: schedule: "*/5 * * * *" rsyncTLS: keySecret: east-west address: abad73aa2ca4441ed8c9e13f1095c453-95258c1d3ff95327.elb.us-west-2.amazonaws.com copyMethod: Snapshot volumeSnapshotClassName: csi-aws-vsc EOF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions