Difference between revisions of "Kubernetes HostPath volume provider"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
https://kubernetes.io/docs/concepts/storage/volumes/#hostpath
 
https://kubernetes.io/docs/concepts/storage/volumes/#hostpath
 +
 +
apiVersion: v1
 +
kind: PersistentVolume
 +
metadata:
 +
  name: pv0001
 +
spec:
 +
  accessModes:
 +
    - ReadWriteOnce
 +
  capacity:
 +
    storage: 5Gi
 +
  hostPath:
 +
    path: /data/pv0001/
 +
  
  

Revision as of 18:57, 22 October 2023

Advertising: