Skip to Content
Learn OpenShift
book

Learn OpenShift

by Denis Zuev, Artemii Kropachev, Aleksey Usov
July 2018
Intermediate to advanced
504 pages
11h 34m
English
Packt Publishing
Content preview from Learn OpenShift

Persistent versus ephemeral storage

By default, OpenShift/Kubernetes containers don't store data persistently. We can start an application and OpenShift will start a new container from an immutable Docker image. It uses an ephemeral storage, which means that data is available until the container is deleted or rebuilt. If our application (and all related containers) has been rebuilt, all data will be lost. Still, this approach is fine for any stateless application. For example, it will work for a simple website that doesn't act as a portal and only provides information embedded into HTML/CSS. Another example would be a database used for development—usually, no one cares if data is lost.

Let's consider another example. Imagine that we need ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Operating OpenShift

Operating OpenShift

Rick Rackow, Manuel Dewald
OpenShift for Developers, 2nd Edition

OpenShift for Developers, 2nd Edition

Joshua Wood, Brian Tannous
Kubernetes: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower

Publisher Resources

ISBN: 9781788992329Supplemental Content