Skip to Main Content
Mastering Kubernetes - Third Edition
book

Mastering Kubernetes - Third Edition

by Gigi Sayfan
June 2020
Intermediate to advanced content levelIntermediate to advanced
642 pages
13h 39m
English
Packt Publishing
Content preview from Mastering Kubernetes - Third Edition

7

Running Stateful Applications with Kubernetes

In this chapter, we will learn how to run stateful applications on Kubernetes. Kubernetes takes a lot of work out of our hands by automatically starting and restarting pods across the cluster nodes as needed, based on complex requirements and configurations such as namespaces, limits, and quotas. But when pods run storage-aware software, such as databases and queues, relocating a pod can cause the system to break. First, we'll explore the essence of stateful pods and why they are much more complicated to manage in Kubernetes. We will look at a few ways to manage the complexity, such as shared environment variables and DNS records. In some situations, a redundant in-memory state, a DaemonSet, or ...

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

Mastering Kubernetes

Mastering Kubernetes

Gigi Sayfan
Kubernetes Cookbook - Second Edition

Kubernetes Cookbook - Second Edition

Hideto Saito, Hui-Chuan Chloe Lee, Ke-Jou Carol Hsu
Kubernetes Security and Observability

Kubernetes Security and Observability

Brendan Creane, Amit Gupta
GitOps and Kubernetes

GitOps and Kubernetes

Todd Ekenstam, Billy Yuen, Jesse Suen, Alex Matyushentsev

Publisher Resources

ISBN: 9781839211256Supplemental Content