~/talk

Seeing is Believing: Debugging with Ephemeral Containers

Talkat KubeCon + CloudNativeCon Europe 2022 · 2022-05-16..05-20· [kubernetes]
links:none on file
slides:none on file

Ephemeral containers land as a beta feature in Kubernetes 1.23 and let a new container join a running Pod to share network and (optionally) PID/user namespaces; use --target to share the target container’s PID space. Examples use a kind local cluster and require privileged node access or nsenter to inspect namespace files. Ephemeral containers are a Pod subresource (created via the subresource API, mounts need raw API), can be privileged (netshoot + strace/tcpdump), persist status/exit codes in the Pod and disappear only when the Pod restarts.

AI-written summary · about

  1. 0:00Start
  2. 4:11Setup: Kind
  3. 4:51Setup: Postgres
  4. 5:07Setup: Check versions
  5. 6:25Debug without Ephemeral Containers
  6. 11:33Ephemeral Containers spec
  7. 12:18Ephemeral Containers status
  8. 12:50What is a Container?
  9. 20:14Namespaces on Pod Container (K8s)
  10. 20:52Namespaces using nsenter
  11. 21:30Ephemeral Containers: debug
  12. 23:02Namespaces when using Ephemeral Container...
  13. 27:43Sub-Resource
  14. 28:24Custom API calls
  15. 34:22Namespaces when debug by attaching (slide 40)
  16. 35:16Linux Namespaces on node (docker) (slide 30)
  17. 36:47Notes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.