Slide 14
Slide 14 text
🤩 docker exec
● Can run target binaries, see the target rootfs "as is", install extra tools
● …but only works if there is a shell
🙂 kubectl debug / docker run (aka debugging sidecar)
● Can see target processes, access target rootfs (but not “as is”), use
custom debugger image
● …but cannot see volumes, run as user, or fine-tune the ephemeral
container spec, see target rootfs "as is"
🤯 nsenter
● Can do anything
● …given you know how and have sufficient access (on the node)
Developer Experience During Debugging