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?

feita há 6 meses201 visualizações
1 Resposta
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
ENGENHEIRO DE SUPORTE
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas