Kubernetes Storage Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page Kubernetes Persistence Operations to Kubernetes Storage Operations without leaving a redirect)
Line 15: Line 15:


=NFS volume Example=
=NFS volume Example=
This is an example to setup and use an [[Kubernetes_Storage_Concepts#nfs|nfs volume]].
<Font color=darkgray>TODO:</font> https://github.com/kubernetes/examples/tree/master/staging/volumes/nfs
<Font color=darkgray>TODO:</font> https://github.com/kubernetes/examples/tree/master/staging/volumes/nfs

Revision as of 23:29, 11 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