[jboss-jira] [JBoss JIRA] (WFWIP-186) PVC access mode is hardcoded to ReadWriteOnce

Jeff Mesnil (Jira) issues at jboss.org
Tue Sep 10 11:47:00 EDT 2019


    [ https://issues.jboss.org/browse/WFWIP-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782426#comment-13782426 ] 

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/wildflyserver/wildflyserver_controller.go#L404



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list