Skip to Main Content
OpenShift in Action
book

OpenShift in Action

by John Osborne, Jamie Duncan
May 2018
Beginner to intermediate content levelBeginner to intermediate
320 pages
10h 34m
English
Manning Publications
Content preview from OpenShift in Action

Chapter 8. Stateful applications

This chapter covers

  • Enabling a headless service
  • Clustering applications
  • Configuring sticky sessions
  • Handling graceful shutdowns
  • Working with stateful sets

In chapter 7, you created persistent storage for the Image Uploader pods, which allowed data to persist past the lifecycle of a single pod. When a pod failed, a new pod spun up in its place and mounted the existing persistent volume locally. Persistent storage in OpenShift allows many stateful applications to run in containers. Many other stateful applications still have requirements that are unsatisfied by persistent storage alone: for instance, many workloads distribute data through replication, which requires application-level clustering. In OpenShift, ...

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

OpenShift for Developers

OpenShift for Developers

Grant Shipley, Graham Dumpleton
DevOps with OpenShift

DevOps with OpenShift

Stefano Picozzi, Mike Hepburn, Noel O'Connor
Learn OpenShift

Learn OpenShift

Denis Zuev, Artemii Kropachev, Aleksey Usov
Kubernetes: Up and Running

Kubernetes: Up and Running

Kelsey Hightower, Brendan Burns, Joe Beda

Publisher Resources

ISBN: 9781617294839Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link