Skip to content

Better document supported access modes #2178

@da-amit-mujawar

Description

@da-amit-mujawar

/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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions