volume pv yaml:
vi volume.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
     name: example-pv
spec:
    capacity:
       storage: 1Gi
    accessModes:
- ReadWriteOnce
       hostPath:
           path: /mnt/disks/ssd1
:wq
volume pv yaml
阅读 32
2022-02-22
volume pv yaml:
apiVersion: v1
kind: PersistentVolume
metadata:
     name: example-pv
spec:
    capacity:
       storage: 1Gi
    accessModes:
- ReadWriteOnce
       hostPath:
           path: /mnt/disks/ssd1
:wq
相关推荐
精彩评论(0)