• Kubernetes Submit Queue's avatar
    Merge pull request #31358 from screeley44/k8-get-pv · df99dfd0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add ReclaimPolicy to the resource printer for 'get pv'
    
    Propose we add the RECLAIMPOLICY (persistentVolumeReclaimPolicy) from resource_printer.go to show the policy when a user does a ```kubectl get pv```
    
    ```
    [root@k8dev nfs]# kubectl get pv
    NAME      CAPACITY   ACCESSMODES   RECLAIMPOLICY   STATUS      CLAIM     REASON    AGE
    pv-nfs    1Gi        RWO           Retain          Available                       1m
    pv-nfs2   1Gi        RWO           Delete          Available                       4s
    
    ```
    df99dfd0
resource_printer.go 72.9 KB