Difference between revisions of "Kubernetes HostPath volume provider"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by 3 users not shown)
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/
 +
 +
 +
{{Kind: PersitentVolume with hostPath}}
 +
 +
[[cephfs]]
 +
[[configMap]]
 +
[[iscsi]]
 +
[[local]] https://kubernetes.io/docs/concepts/storage/volumes/#local
 +
[[nfs]] https://kubernetes.io/docs/concepts/storage/volumes/#nfs
 +
[[persistentVolumeClaim]] https://kubernetes.io/docs/concepts/storage/volumes/#persistentVolumeClaim
 +
[[Kubernetes secrets|secret]]
 +
[[csi]] https://kubernetes.io/docs/concepts/storage/volumes/#csi
  
 
== Related ==
 
== Related ==
 
* [[Kubernetes Persistent Volumes (PV)]]
 
* [[Kubernetes Persistent Volumes (PV)]]
 +
* [[Minikube]]: <code>[[k8s.io/minikube-hostpath]]</code>, supported of the box.
 +
* [[subPath]] https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath
  
 
== See also ==
 
== See also ==

Latest revision as of 12:15, 8 February 2024

Advertising: