Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix "no topology key found on CSINode"? [closed]

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
like image 958
Adnan Mujkanovic Avatar asked Sep 03 '25 17:09

Adnan Mujkanovic


1 Answers

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

like image 134
shonky linux user Avatar answered Sep 07 '25 17:09

shonky linux user