浏览代码

EBS storage does not support Recycle

Stefanie Forrester 9 年之前
父节点
当前提交
47b1bbea74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/adhoc/create_pv/pv-template.j2

+ 1 - 1
playbooks/adhoc/create_pv/pv-template.j2

@@ -10,7 +10,7 @@ spec:
     storage: {{ vol_size }}Gi
   accessModes:
     - ReadWriteOnce
-  persistentVolumeReclaimPolicy: Recycle
+  persistentVolumeReclaimPolicy: Retain
   awsElasticBlockStore:
     volumeID: aws://{{ vol_az }}/{{ vol_id }}
     fsType: ext4