mirror of https://github.com/easzlab/kubeasz.git
18 lines
374 B
YAML
18 lines
374 B
YAML
|
apiVersion: v1
|
||
|
kind: PersistentVolume
|
||
|
metadata:
|
||
|
name: pv-es-0
|
||
|
spec:
|
||
|
capacity:
|
||
|
storage: 4Gi
|
||
|
accessModes:
|
||
|
- ReadWriteMany
|
||
|
volumeMode: Filesystem
|
||
|
persistentVolumeReclaimPolicy: Recycle
|
||
|
storageClassName: "es-storage-class"
|
||
|
nfs:
|
||
|
# 根据实际共享目录修改
|
||
|
path: /share/es0
|
||
|
# 根据实际 nfs服务器地址修改
|
||
|
server: 192.168.1.208
|