
ojob ojob.io/aws/moveEKSPV4AZ pvc=some-name ns=default targetaz=eu-west-1c auto=true deletepv=true keepsnap=true
Moves an AWS EKS PV from one AZ to another (DEPLOY MUST HAVE REPLICAS=0)
| Name | Description |
|---|---|
| pvc | The persistent volume clain name |
| ns | The kubernetes namespace to use |
| targetaz | The complete region and target az |
| auto | Automatically perform destructive actions such as deleting PV/PVCs |
| deletepv | Boolean flag that if true and if auto=true will try to delete the original EBS volume in the end |
| keepsnap | Boolean flag that if true will keep the snapshots created during the process |