[jboss-jira] [JBoss JIRA] (WFWIP-187) Changes to PVC are not reflected in Operator
Jeff Mesnil (Jira)
issues at jboss.org
Fri Oct 4 03:36:00 EDT 2019
[ https://issues.jboss.org/browse/WFWIP-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794692#comment-13794692 ]
Jeff Mesnil commented on WFWIP-187:
-----------------------------------
[~mchoma] PCV is not created directly by the operator. The operator creates a statefulset and in its spec, it configures *volumeClaimTemplates*[1]. When and how the StatefulSet updates the PVC based on these templates is out of scope of the operator.
So if you update the operator storageSpec, you will see that the statefulset.spec.volumeClaimTemplates is updated but the corresponding PVC is not. This seems correct to me as persistent volume are tightly bound to the statefulset.
[1] https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#statefulsetspec-v1-apps
> Changes to PVC are not reflected in Operator
> --------------------------------------------
>
> Key: WFWIP-187
> URL: https://issues.jboss.org/browse/WFWIP-187
> Project: WildFly WIP
> Issue Type: Bug
> Components: OpenShift
> Reporter: Martin Choma
> Assignee: Jeff Mesnil
> Priority: Blocker
> Labels: operator
>
> Any chnages (adding, removing or updating) made to PVC after WildFlyServer CR was created are not reflected in underlying PVC kubernetes object.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list