Five Great Ways to Lose Data on Kubernetes - And How to Avoid Them
CNCF [Cloud Native Computing Foundation] via YouTube
AI Engineer - Learn how to integrate AI into software applications
Free courses from frontend to fullstack and AI
Overview
Syllabus
Intro
Presenter and Company Bio
What do we mean by "data"?
Starting a database is easy in Kubernetes (Install helm)
A delicate flower is our database
Traditional database solution: replicas
Simplest K8s path to replicas: use an operator
Complex systems made simple[r]
What is "blast radius?"
Affinity vs. anti-affinity
Pod anti-affinity covers host failures
Node affinity + failure domain covers AZ failure
Protect replicas using distance
Blast protection across regions or K8s
Where are my pods running?
Ephemeral storage is a feature, not a bug!
PVs are not enough if you don't use them!
Testing to the point of abuse is the solution Check Kubernetes resource definitions Inspect file system mounts Kill pods Kill nodes
The best way to lose data: do it yourself
Steps to reclaim -- Automation anyone?
Taught by
CNCF [Cloud Native Computing Foundation]