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 6. Volumes: attaching disk storage to containers

This chapter covers

  • Creating multi-container pods
  • Creating a volume to share disk storage between containers
  • Using a Git repository inside a pod
  • Attaching persistent storage such as a GCE Persistent Disk to pods
  • Using pre-provisioned persistent storage
  • Dynamic provisioning of persistent storage

In the previous three chapters, we introduced pods and other Kubernetes resources that interact with them, namely ReplicationControllers, ReplicaSets, DaemonSets, Jobs, and Services. Now, we’re going back inside the pod to learn how its containers can access external disk storage and/or share storage between them.

We’ve said that pods are similar to logical hosts where processes running inside ...

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