Skip to content

Support ReadWriteOncePod access mode #280

@kskalski

Description

@kskalski

Looks like the proper way to ensure single-pod access to volume is using a new ReadWriteOncePod access mode introduced here in Kubernetes 1.22

It would be nice to have this supported in local-path-provisioner

Now I'm getting this error:

The PersistentVolumeClaim "workdir-pvc-tmp" is invalid: spec.accessModes: 
Unsupported value: "ReadWriteOncePod": 
supported values: "ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions