pv-template.j2 308 B

12345678910111213141516
  1. ---
  2. apiVersion: v1
  3. kind: PersistentVolume
  4. metadata:
  5. name: {{ pv_name }}
  6. labels:
  7. type: ebs
  8. spec:
  9. capacity:
  10. storage: {{ vol_size }}Gi
  11. accessModes:
  12. - ReadWriteOnce
  13. persistentVolumeReclaimPolicy: Retain
  14. awsElasticBlockStore:
  15. volumeID: aws://{{ vol_az }}/{{ vol_id }}
  16. fsType: ext4