I am trying to get the aws-ebs-csi-driver helm chart working on a EKS 1.23 cluster.
The message I am getting from PVC events.
failed to provision volume with StorageClass "gp2": error generating accessibility requirements: no topology key found on CSINode
If you are using EKS Automode then make sure you're using the correct automode Storage Class provisioner ebs.csi.eks.amazonaws.com
rather than the standard ebs.csi.aws.com
Your automode storage class should look something like this:
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: ebs-sc
provisioner: ebs.csi.eks.amazonaws.com
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Delete
allowVolumeExpansion: true
# The following parameters are specific to the EBS CSI driver.
parameters:
csi.storage.k8s.io/fstype: xfs
type: gp3
encrypted: "true"
tagSpecification_1: Name=ebs-sc
tagSpecification_2: CostCentre=my-project
Reference https://docs.aws.amazon.com/eks/latest/userguide/create-storage-class.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With