init
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user