Unterminating Kubernetes Resources - Avoiding Unintentional Data Loss
Cloud Native Skunkworks via YouTube
Learn Generative AI, Prompt Engineering, and LLMs for Free
Google Data Analytics, IBM AI & Meta Marketing — All in One Subscription
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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