[
https://issues.jboss.org/browse/WFWIP-187?page=com.atlassian.jira.plugin....
]
Martin Choma edited comment on WFWIP-187 at 9/26/19 1:20 PM:
-------------------------------------------------------------
[~jmesnil] was it necessary to introduce new annotation on StatefulSet. There is currently
Kubernetes standard {{metadata.generation}}. I just want to make sure you have considered
this option as well.
EDITED: or the reason was recreation of StatefulSet is needed? Is recreating StatefulSet
safe operation?
Anyway, it is not how I would expect to behave. I see my changes in SS {{2Mi}}, but it is
not propagated into pvc object, where there is always {{1Mi}}
{code}
volumeClaimTemplates:
- metadata:
creationTimestamp: null
name: operator-updated-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Mi
status:
phase: Pending
{code}
PVC:
{code}
Status:
Bound to volume vol41
Capacity:
allocated 1 GiB
Requested Capacity:
1 MiB
Access Modes:
RWO (Read-Write-Once)
{code}
EDITED:
- adding in runtime works as expected. PVC is not there and is created.
- removing in runtime does not work as I would expect. PVC is still there
EDITED:
- I am trying on
https://github.com/wildfly/wildfly-operator/tree/64183f20d483c8aa072d294f...
because newer images we have are broken
https://issues.jboss.org/browse/WFWIP-209
was (Author: mchoma):
[~jmesnil] was it necessary to introduce new annotation on StatefulSet. There is currently
Kubernetes standard {{metadata.generation}}. I just want to make sure you have considered
this option as well.
EDITED: or the reason was recreation of StatefulSet is needed? Is recreating StatefulSet
safe operation?
Anyway, it is not how I would expect to behave. I see my changes in SS {{2Mi}}, but it is
not propagated into pvc object, where there is always {{1Mi}}
{code}
volumeClaimTemplates:
- metadata:
creationTimestamp: null
name: operator-updated-volume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Mi
status:
phase: Pending
{code}
PVC:
{code}
Status:
Bound to volume vol41
Capacity:
allocated 1 GiB
Requested Capacity:
1 MiB
Access Modes:
RWO (Read-Write-Once)
{code}
EDITED:
- adding in runtime works as expected. PVC is not there and is created.
- removing in runtime does not work as I would expect. PVC is still there
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)