[jboss-jira] [JBoss JIRA] (WFWIP-185) PVC not deleted by deleting WildFlyServer CR
Martin Choma (Jira)
issues at jboss.org
Fri Aug 30 10:34:00 EDT 2019
Martin Choma created WFWIP-185:
----------------------------------
Summary: PVC not deleted by deleting WildFlyServer CR
Key: WFWIP-185
URL: https://issues.jboss.org/browse/WFWIP-185
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Jeff Mesnil
When I delete WildFlyServer CR PVC created by this CR is not deleted as StatefullSet and Pods are .
I see Statefull Set and Pod has ownerReferences attribute referencing to parent.
ownerReferences
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
I dont see such attribute specified in PVC
{code}
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
pv.kubernetes.io/bind-completed: "yes"
pv.kubernetes.io/bound-by-controller: "yes"
creationTimestamp: 2019-08-30T13:12:27Z
finalizers:
- kubernetes.io/pvc-protection
labels:
app.kubernetes.io/managed-by: wildfly-operator
app.kubernetes.io/name: simple-jaxrs-eap72
app.openshift.io/runtime: wildfly
name: simple-jaxrs-eap72-volume-simple-jaxrs-eap72-0
namespace: mchoma
resourceVersion: "3633284"
selfLink: /api/v1/namespaces/mchoma/persistentvolumeclaims/simple-jaxrs-eap72-volume-simple-jaxrs-eap72-0
uid: d0aac389-cb27-11e9-b93c-fa163e9a0fb6
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Mi
volumeName: vol57
status:
accessModes:
- ReadWriteMany
- ReadWriteOnce
capacity:
storage: 1Gi
phase: Bound
{code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list