Projects:Kubernetes: verschil tussen versies

Naar navigatie springen Naar zoeken springen
105 bytes toegevoegd ,  15 mrt 2019
geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 280: Regel 280:
[...]
[...]
root@kubetest4:~# mkdir /persistent
root@kubetest4:~# mkdir /persistent
root@kubetest4:~# chmod 0777 /persistent
root@kubetest4:~# cat <<EOF >>/etc/exports
root@kubetest4:~# cat <<EOF >>/etc/exports
/persistent *(rw,sync,no_subtree_check)
/persistent *(rw,sync,no_subtree_check)
Regel 288: Regel 289:
Make sure the other nodes can access it, by checking that <code>mkdir /persistent && mount -t nfs <ipaddress>:/persistent /persistent</code> works.
Make sure the other nodes can access it, by checking that <code>mkdir /persistent && mount -t nfs <ipaddress>:/persistent /persistent</code> works.


Now we can go ahead and create our pod with this volume:
Now we can go ahead and create our pod with this volume (replacing <ipaddress> with the address of your NFS host again):


<pre>
<pre>

Navigatiemenu