Getting Started with Volumes
Learn about Kubernetes volumes and how to create a cluster with them.
We'll cover the following...
State preservation
Note: Having a system without a state is impossible. Even though there is a tendency to develop stateless applications, we still need to deal with the state. There are databases and other stateful third-party applications. No matter what we do, we need to make sure that the state is preserved regardless of what happens to containers, Pods, or even whole nodes.
Most of the time, stateful applications store their state on disk. This leaves us with a problem. If a container crashes, kubelet
will restart it. The problem is that it will create ...