[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[no subject]



Hi,

I've created a PersistentVolumeClaim before my PersistentVolume resource.

Now, I've this :

```
# oc get pv
NAME                           LABELS    CAPACITY   ACCESSMODES   STATUS      CLAIM     REASON    AGE
my-persistent-volume   <none>    1Gi        RWO           Available                       18h

# oc get pvc
NAME      LABELS    STATUS    VOLUME    CAPACITY   ACCESSMODES   AGE
foobar      <none>    Pending                                      4d
```

My PersistentVolumeClaim config :
```
apiVersion: v1
kind: PersistentVolume
metadata:
    name: my-persistent-volume
spec:
    capacity:
        storage: 1Gi
    accessModes:
        - ReadWriteOnce
    persistentVolumeReclaimPolicy: Recycle
    hostPath:
        path: /my-persistent-volume/
```

My PersistentVolume config :

```
- apiVersion: v1
  kind: PersistentVolumeClaim
  metadata:
    name: foobar
  spec:
    accessModes:
    - ReadWriteMany
    resources:
      requests:
        storage: 512Mi
```

How can I say to my persistent volume to retry ?

Best regards,
Stéphane
--

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]