Specify Dynamically Created EBS Volume Names

7/8/2019

When dynamically creating Persistent Volumes in a K8s cluster running on EKS, using gp2 as the default storage class, is it possible to name the EBS volumes that are created?

Currently, they get names like kubernetes-dynamic-pvc-d8896767-a1c9-11e9-bb21-0e3fcd7b2ecc but it would be nice for volume management to have the labels be more clear.

-- austin_ce
aws-eks
kubernetes
persistent-volumes

1 Answer

8/26/2019

Dynamic provisioning is managed by admission controller, so there's no straight way to control naming of the volumes.

-- A_Suh
Source: StackOverflow