===NFS===
<pre>
# kubectl create -f pv-nfs.yaml
persistentvolume/nfs-example created
<pre>apiVersion: v1kind: PersistentVolumemetadata: name: nfsspec: capacity: storage: 1Mi accessModes: # kubectl create -f pvc- ReadWriteMany nfs: server: 192.168.42.1yaml path: "/home/adam/Projects/DockerCourse/persistentstore/prometheuspersistentvolumeclaim/"myclaim created
</pre>
<pre>
# kubectl create -f cm-nfs.yaml
persistentvolume/nfs created
</pre>
<pre>
ReadOnly: false
</pre>
==ConfigMap==