Skip to Content
Kubernetes in Action
book

Kubernetes in Action

by Marko Luksa
January 2018
Beginner to intermediate
624 pages
19h 23m
English
Manning Publications
Content preview from Kubernetes in Action

Chapter 10. StatefulSets: deploying replicated stateful applications

This chapter covers

  • Deploying stateful clustered applications
  • Providing separate storage for each instance of a replicated pod
  • Guaranteeing a stable name and hostname for pod replicas
  • Starting and stopping pod replicas in a predictable order
  • Discovering peers through DNS SRV records

You now know how to run both single-instance and replicated stateless pods, and even stateful pods utilizing persistent storage. You can run several replicated web-server pod instances and you can run a single database pod instance that uses persistent storage, provided either through plain pod volumes or through Persistent-Volumes bound by a PersistentVolumeClaim. But can you employ a ReplicaSet ...

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

Kubernetes: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower
Terraform in Action

Terraform in Action

Scott Winkler
Kubernetes for Beginners

Kubernetes for Beginners

Bogdan Stashchuk

Publisher Resources

ISBN: 9781617293726Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link