KEP-277keps/sig-node/277-ephemeral-containers
Ephemeral Containers
This proposal adds to Kubernetes a mechanism to run a container with a temporary duration that executes within namespaces of an existing pod. Ephemeral Containers are initiated by a user and intended to observe the state of other pods and containers for troubleshooting and debugging purposes. Ephemeral Containers unlock the possibility for a new command, ku… Full summary
This proposal adds to Kubernetes a mechanism to run a container with a temporary duration that executes within namespaces of an existing pod. Ephemeral Containers are initiated by a user and intended to observe the state of other pods and containers for troubleshooting and debugging purposes. Ephemeral Containers unlock the possibility for a new command, kubectl debug, which parallels the existing, kubectl exec. Whereas kubectl exec runs a process in a container, kubectl debug could run a container in a pod. For example, the following command would attach to a newly created container in a pod: kubectl debug -it --image=debian target-pod -- bash
Facts
- Authors
- @verb
- Approvers
- @dchen1107@liggitt
- Reviewers
- @dchen1107
- PRR approvers
- @johnbelamaricalpha@johnbelamaricbeta@johnbelamaricstable
- Tracking issue
- #277(opens GitHub in a new tab) closedcompletedclosed 2023-01-29 01:40 UTCmilestone v1.25sig/nodesig/clistage/stablekind/featurekind/api-change
- Milestones
- alpha v1.16beta v1.23stable v1.25
- Participating SIGs
- sig-auth
- Feature gates
- EphemeralContainers
- Created / last updated
- 2019-02-12 / none