init
This commit is contained in:
parent
b9825e286b
commit
37b180e954
@ -4,11 +4,10 @@ metadata:
|
||||
name: local-storage-pv
|
||||
spec:
|
||||
capacity:
|
||||
storage: 30Gi # Размер (логический, не резервируется)
|
||||
storage: 50Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
# - ReadWriteOnce # Для одного пода
|
||||
- ReadWriteOnce # Можно указать, но hostPath не гарантирует многоподовый доступ на разных нодах
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain # При удалении PVC данные не удалять
|
||||
hostPath:
|
||||
path: /devx/dependencies # Папка на узле, где работает Kubernetes
|
||||
|
||||
@ -4,8 +4,9 @@ metadata:
|
||||
name: "{{$.Release.Name}}-{{$.Values.name}}-dependencies"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce # Должно совпадать с PV
|
||||
- ReadWriteOnce
|
||||
volumeMode: Filesystem
|
||||
storageClassName: ""
|
||||
resources:
|
||||
requests:
|
||||
storage: 30Gi
|
||||
Loading…
x
Reference in New Issue
Block a user