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 ...

Get Kubernetes in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.