Handling Data and Stateful Applications in Docker and Kubernetes
You can run stateful applications and databases in containers - but should you? This course teaches you how the container filesystem works, how to persist data outside of containers, and how to choose storage options for Docker and Kubernetes.
What you'll learn
Containers are meant to be short-lived - you replace them any time you update your app code or apply a security patch. What happens to the data inside containers when you replace them, and how can you get the benefits of containerization for stateful applications?
In this course, Handling Data and Stateful Applications in Docker and Kubernetes, you'll learn how storage works in containers – how the filesystem is constructed and how you can persist data outside of the container lifecycle.
First, you'll learn about image layers and volume mounts in Docker. Then, you'll explore how to inject configuration files into containers with Kubernetes. Next, you'll explore options for writing persistent data in Kubernetes clusters. Finally, you'll discover about optimizing Docker images and managing storage on servers and registries.
By the end of the course, you'll understand all the choices for handling data in containers, and you'll be able to run your own stateful apps in Docker and Kubernetes.
Table of contents
- Understanding the Problem 5m
- Images and Image Layers 6m
- Demo: Images and Image Layers 9m
- The Container Writeable Layer 3m
- Demo: Container Writeable Layers 8m
- Volume Mounts in the Container Filesystem 3m
- Demo: Volumes and Filesystem Mounts 9m
- Demo: Windows Volumes and Filesystem Mounts 5m
- Module Summary 4m
- Isolating Configuration from Your Docker Images 8m
- Demo Part 1: ConfigMaps in Kubernetes 8m
- Demo Part 2: Modelling Configuration 9m
- Identifying Sensitive Configuration Data 5m
- Demo Part 1: Secrets in Kubernetes 8m
- Demo Part 2: Securing Access with RBAC 5m
- Managing Access to Sensitive Configuration 7m
- Demo: Secret Store CSI Driver 11m
- Surfacing Volumes from Azure KeyVault 6m
- Module Summary 5m
- Understanding Stateful Storage Patterns 5m
- Demo: Persistent Storage in Kubernetes 7m
- Container and Pod Storage Lifecycles 5m
- Demo: Persistent Volumes and Claims 7m
- Access Modes and Cluster-wide Storage 4m
- Demo Part 1: Managing Persistent Volumes 6m
- Demo Part 2: Using Cluster-wide Storage 4m
- Abstract Modelling with Storage Classes 6m
- Module Summary 3m