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?

質問済み 6ヶ月前201ビュー
1回答
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
サポートエンジニア
回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ