Unterminating Kubernetes Resources - Avoiding Unintentional Data Loss
Cloud Native Skunkworks via YouTube
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to build a Golang program that interfaces with ETCD to prevent unintentional data loss in Kubernetes by reversing the termination process of Persistent Volume Claims (PVCs). Explore the design, implementation, and key concepts of this data recovery technique in a 35-minute tutorial. Dive into topics such as ETCD registry manipulation, certificate fetching, client implementation, runtime schema handling, and protobuf library usage. Follow along as the tutorial guides you through the process of creating a solution to recover bound PVCs that have been mistakenly or inadvertently marked for deletion, potentially saving critical data in your Kubernetes clusters.
Syllabus
- Intro
- Design
- Unterminate
- Data loss!
- ETCD registry
- The hack
- Fetching certs
- Connection
- ETCD client
- Implementing the client
- Runtime schema
- Implementing the protobuf lib
- Writing the decoder
- Writing the encoder
- Job done
Taught by
Cloud Native Skunkworks