ojob.io/aws/moveEKSPV4AZ

Usage

ojob ojob.io/aws/moveEKSPV4AZ pvc=some-name ns=default targetaz=eu-west-1c auto=true deletepv=true 

Description

Moves an AWS EKS PV from one AZ to another (DEPLOY MUST HAVE REPLICAS=0)

Expects

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