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

Better document supported access modes #2178

Open
da-amit-mujawar opened this issue Oct 10, 2024 · 1 comment
Open

Better document supported access modes #2178

da-amit-mujawar opened this issue Oct 10, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@da-amit-mujawar
Copy link

da-amit-mujawar commented Oct 10, 2024

/kind bug

What happened?
When we try to use ReadOnlyMany, the volume attachment fails with error
1 controller.go:637] "isValidCapability: access mode is not supported" accessMode="MULTI_NODE_READER_ONLY"

What you expected to happen?
Should have worked and mounted the volume in the Pod.
Question: Which modes are supported by this driver? I cannot find a documentation as to which modes are supported and which are not.

How to reproduce it (as minimally and precisely as possible)?

Anything else we need to know?:
The only mode that worked in EKS was ReadWriteOnce. As a work around we set the volume as readonly: true inside the Pod.

Environment

  • Kubernetes version (use kubectl version):
  • Driver version:
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 10, 2024
@ConnorJC3
Copy link
Contributor

Hi, ReadOnlyMany support is not available in the EBS CSI Driver. This is because the only multi-node volume supported by the EBS CSI Driver is ReadWriteMany on block devices for EBS Multi-Attach volumes (useful for some niche usecases such as clustered filesystems and software with specific support. EBS is unable to mount a block device read only, so we cannot support ReadOnlyMany block devices.

I will leave this issue open as a documentation issue for us to better document these limitations.

/retitle Better document supported access modes

@k8s-ci-robot k8s-ci-robot changed the title Support for ReadOnlyMany does not work Better document supported access modes Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants