#8660 ability to reclaim PVs in fedora infra openshift(s)
Opened 6 months ago by dustymabe. Modified 6 months ago

Describe what you would like us to do:


Periodically I delete my coreos-ostree-importer project (i.e. wipe everything from openshift and start clean). Every time I do this I have to ask @kevin to reclaim the PV associated with my PVC.

Here are some notes from @kevin:

nirik | basically it's delegate_to the os-master01[stg]
nirik | and 'oc delete pv/fedora-ostree-content-volume-1' then 'oc create -f /root/pv_fedora_ostree_content-volume-1.yml' (but put the yaml in the playbook too :)

where the yaml file is:

apiVersion: v1                                  
kind: PersistentVolume                          
metadata:                                       
  name: fedora-ostree-content-volume-1
spec:                                           
  accessModes:                                  
  - ReadWriteMany
  capacity:                                     
    storage: 2T                              
  nfs:                                          
    path: /fedora-ostree-content
    server: ntap-phx2-c01-fedora01-nfs.storage.phx2.redhat.com                                   
  persistentVolumeReclaimPolicy: Retain         

I need a way to programmatically reclaim this PV myself, or have the reclaim happen automatically by some process.

When do you need this to be done by?


Bevfore the end of march would be nice.


Metadata Update from @smooge:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

6 months ago

Login to comment on this ticket.

Metadata