Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you enable CSIStorageCapacity during driver deployment #2170

Open
skupjoe opened this issue Oct 6, 2024 · 1 comment
Open

How do you enable CSIStorageCapacity during driver deployment #2170

skupjoe opened this issue Oct 6, 2024 · 1 comment

Comments

@skupjoe
Copy link

skupjoe commented Oct 6, 2024

After deploying aws-ebs-csi-driver I notice that storageCapacity for csidrivers.storage.k8s.io ebs.csi.aws.com is set to false and I have been unable to identify any values/config in the Helm chart to adjust this.

The only workaround I have is to manually patch this value after driver deployment:

kubectl patch csidrivers.storage.k8s.io ebs.csi.aws.com -p '{"spec":{"storageCapacity":true}}'

Is there a different way to set the CSI driver spec that I am overlooking?

Ref:
https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-storage-capacity-v1/
https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/csi-driver-v1/#CSIDriverSpec

@ConnorJC3
Copy link
Contributor

Hi, the EBS CSI Driver does not currently implement the CSI GetCapacity call, and thus we intentionally do not offer a way to modify this option in the StorageClass, as it would do nothing. We do not support GetCapacity as it is targeted towards drivers with a limited storage pool, while EBS represents effectively unlimited storage - thus most/all of the features do not apply to EBS volumes.

Is there a reason you are trying to turn on this feature for the EBS CSI Driver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants