Trident dynamic provisioning and FSx...

0

Is there a way to get the dynamic provisioned PVC to have persistentVolumeReclaimPolicy set to Retain instead of Delete?

preguntada hace 6 meses201 visualizaciones
1 Respuesta
0

You can consider checking below AWS blogs for persistent storage on Amazon EKS as they have example file system created with "persistentVolumeReclaimPolicy" set to 'Retain'

Sharing one example snippet

#pv.yaml
---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: efs-pv
spec:
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  storageClassName: ""
  persistentVolumeReclaimPolicy: Retain
  csi:
    driver: efs.csi.aws.com
    volumeHandle: fs-073d77123471b2917
AWS
INGENIERO DE SOPORTE
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas