Hide
= Set the access mode for Cloud Development Environment persistent volume claims in the `CheCluster` custom resource
You can now set the access mode for persistent volume claims (PVCs) for Cloud Development Environments (CDEs) in the CheCluster custom resource (CR). Add the `storageAccessMode` field to the `devEnvironments.storage` section of the CR:
[source,yaml]
----
apiVersion: org.eclipse.che/v2
kind: CheCluster
spec:
devEnvironments:
storage:
perUserStrategyPvcConfig:
storageAccessMode:
- ReadWriteMany
pvcStrategy: per-user
----
Any PVCs created for CDEs after you configure the `storageAccessMode` field use the specified access mode.
Show
= Set the access mode for Cloud Development Environment persistent volume claims in the `CheCluster` custom resource
You can now set the access mode for persistent volume claims (PVCs) for Cloud Development Environments (CDEs) in the CheCluster custom resource (CR). Add the `storageAccessMode` field to the `devEnvironments.storage` section of the CR:
[source,yaml]
----
apiVersion: org.eclipse.che/v2
kind: CheCluster
spec:
devEnvironments:
storage:
perUserStrategyPvcConfig:
storageAccessMode:
- ReadWriteMany
pvcStrategy: per-user
----
Any PVCs created for CDEs after you configure the `storageAccessMode` field use the specified access mode.