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