[
https://issues.jboss.org/browse/WFWIP-186?page=com.atlassian.jira.plugin....
]
Jeff Mesnil commented on WFWIP-186:
-----------------------------------
The persistent volume is mounted for the standalone/data dir that is never shared between
instances.
https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes: "A
volume can only be mounted using one access mode at a time, even if it supports many. For
example, a GCEPersistentDisk can be mounted as ReadWriteOnce by a single node or
ReadOnlyMany by many nodes, but not at the same time."
So we specify that the persistent volume mounted to store server data can only be accessed
by a single pod (ReadWriteOnce) even though the pv could also be mounted as a shared
volume (ReadWriteMany)
PVC access mode is hardcoded to ReadWriteOnce
---------------------------------------------
Key: WFWIP-186
URL:
https://issues.jboss.org/browse/WFWIP-186
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Jeff Mesnil
Priority: Blocker
Setting different access mode (ReadWriteMany, ReadOnlyMany) is ignored
[1]
https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wi...
--
This message was sent by Atlassian Jira
(v7.13.5#713005)