Clean Up Your Room! What Does It Mean to Delete Something in K8s
Talkat KubeCon + CloudNativeCon North America 2020 Virtual · on Tuesday, 2020-11-17· at 13:50· Intrado Virtual Event Platform,·
summary
Explains how Kubernetes actually deletes resources by walking examples using kubectl create/get/patch/delete, kubectl proxy and curl to the API, showing deletionTimestamp behavior and how adding a finalizers string blocks removal until the finalizer is cleared (patch to remove it completes the delete). Shows ownerReferences causing cascade deletes or orphaning (delete with cascade=false removes ownerRef but leaves children), and how to set propagationPolicy via raw API to choose foreground, background, or orphan semantics; includes forcing namespace finalization.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:45Agenda
- 2:03Basic Delete
- 2:40State Diagram
- 4:20Demo
- 8:22Demonstration
- 9:18Finalizers Overview
- 10:05Owner References Overview
- 11:04Example
- 14:59Cascading
- 15:34Delete
- 20:19Propagation Policy
- 22:58Tree of Objects
- 23:39Force Finalization
- 24:32Summary
- 25:32References
related talks
31mBeyond the Start Button: The Hidden Life of Pod Termination in Kubernetes
31mKubernetes Housekeeping
31mKubernetes Housekeeping
14mArt of decluttering your Kubernetes cluster
21mHow to Not Destroy Your Production Kubernetes Clusters
10mOptimizing incident response
37mStorage on Kubernetes - Learning From Failures
37mEdit, Debug, & Secure the K8s Manifest Lifecycle: Why is it Important and How Can You Get it Right?
