Projects:Kubernetes: verschil tussen versies

Naar navigatie springen Naar zoeken springen
450 bytes toegevoegd ,  10 mrt 2019
Regel 270: Regel 270:
</pre>
</pre>


Of course, this volume isn't persistent just yet; restarts of the pod will cause it to be recreated so it actually doesn't serve our purpose just yet.
Of course, this volume isn't persistent just yet; restarts of the pod will cause it to be recreated (the Volume has the "lifetime of the Pod") so it actually doesn't serve our purpose.
 
For this, we need to create a PersistentVolume, that exists even outside our Pod, but is linked to it. ([https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/ Here's another tutorial for this if you want].)
 
To do: "HostPath" persistent volumes are only supported on single-node clusters, but our cluster has multiple nodes. What's the easiest way to get persistent storage?


= Creating your own pods =
= Creating your own pods =

Navigatiemenu