# $ aws ec2 create-volume --size=10 --availability-zone=us-west-2a --volume-type=gp2
# $ aws ec2 describe-instances | grep InstanceId
# $ kubectl apply -f pv-percona.yaml
# $ aws ec2 attach-volume --device /dev/sdf --instance-id <WORKER_NODE_ID> --volume-id <YOUR_VOLUME_ID>

apiVersion: v1
kind: PersistentVolume
metadata:
  name : percona-pv1
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 5Gi
  persistentVolumeReclaimPolicy: Retain
  awsElasticBlockStore:
    volumeID: <YOUR EBS VOLUME ID HERE>
    fsType: xfs