kubernetesamazon-eksaws-ebs-csi-driver

How to fix "no topology key found on CSINode"?


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

Solution

  • I looked at the worker nodes (ec2) launch template / user data. The kubelet root path was not the standard /var/lib/kubelet. Instead it was a different one. I fixed the missing CSINode driver information by updating the volumes host paths of the ebs-driver node component with the correct kubelet root path.