Kubernetes Storage Operations: Difference between revisions
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
To create a [[Kubernetes_Storage_Concepts#local|local volume]]: | To create a [[Kubernetes_Storage_Concepts#local|local volume]]: | ||
===Expose a Local Disk=== | |||
===Expose a Local Directory=== |
Revision as of 00:27, 12 December 2019
Internal
Get Information about Persistent Volumes
kubectl get pv <pv-name> kubectl describe pv <pv-name>
Get Information about Persistent Volumes Claims
kubectl get pvc <pvc-name> kubectl describe pvc <pvc-name>
Get Information about Storage Classes
NFS volume Example
This is an example to setup and use an nfs volume.
TODO: https://github.com/kubernetes/examples/tree/master/staging/volumes/nfs
Local Volumes
Create a Local Volume
To create a local volume: