concept storage in category openshift

appears as: Storage, storage
OpenShift in Action

This is an excerpt from Manning's book OpenShift in Action.

Containers are a revolutionary technology, but they can’t do everything on their own. Storage is an area where containers need to be paired with another solution to deploy production-ready applications.

This is because the storage created when a container is deployed is ephemeral. If a container is destroyed or replaced, the storage from inside that container isn’t reused. This is by design, to allow containers to be stateless by default. If something goes bad, a container can be removed from your environment completely, and a new one can be stood up to replace it almost instantly.

PVs in OpenShift rely on one of the listed types of network storage to make the storage available across all nodes in a cluster. For the examples in the next few chapters, you’ll use a PV built with NFS storage. Appendix B takes you through setting up and exporting an NFS volume on your OpenShift master. It also offers up pointers if you prefer to use a different NFS server. If you haven’t already, go ahead and walk through that now.