logo

Tutorial: What Went Wrong with My Persistent Data?

2023-04-20

Authors:   Le Tran, Michael Cade


Summary

The presentation discusses the fundamentals of storage in Kubernetes and provides hands-on experience with troubleshooting and deploying an application within a Kubernetes cluster.
  • Stateful workloads are becoming more common in Kubernetes, and it is important to ensure consistency and accessibility of data as pods are refreshed or updated.
  • The presentation covers volumes, persistent volume claims, storage classes, provisioners, and volume plugins as the fundamentals of Kubernetes storage.
  • Participants are given the task of deploying an application with a front-end and back-end database, and troubleshooting any issues that arise.
  • Debugging commands and resources are provided to assist with troubleshooting.
  • The presentation also touches on storage performance and data protection.
  • The slides and labs are available on GitHub and Instruct for further reference.
The presenter demonstrates the process of creating a pod with a non-persistent Postgres database and writing data to it. The goal is to ensure that the database remains consistent as pods are refreshed or updated. The presentation also includes a task for participants to deploy an application with a front-end and back-end database, highlighting the importance of ensuring accessibility and consistency of data in stateful workloads.

Abstract

Looking for the fundamentals around Kubernetes storage with volumes, especially persistent volumes, persistent volume claims, and storage classes? Then this tutorial is for you. Michael and Le will introduce some fundamental concepts, then dive right into some common pitfalls of setting up persistent data storage in Kubernetes clusters in the format of troubleshooting labs. During these hands-ons labs, folks will be presented with some common errors when setting up pods with persistent volumes or persistent volume claims in a cluster, and will work to identify and resolve these issues. They will be provided with tips and tools on how to navigate these scenarios. Newcomers to K8S will leave with an understanding of basic concepts and tools to effectively work with and troubleshoot persistent data. Additionally, they will also walk away with suggestions around data management for data services, and how to protect their data.

Materials:

Post a comment