ephemeral container
A temporary container added to a running pod for troubleshooting, usually with kubectl debug, then discarded.
In more detail
It shares the pod's process and network namespaces, so it can see the running application. It lets you debug a distroless pod with a full toolset without adding a shell or package manager to the production image.
Related terms
- minimal base image — A base image with as little inside as possible, such as Alpine, a slim variant or a distroless image, to shrink size and attack surface.
- kubectl — The command-line tool for talking to a Kubernetes cluster's API server: creating, reading, changing and deleting objects.
Taught in
- Container Hardening: Distroless & Rootless — Cloud Security & DevSecOps Engineering