Skip to content

kubectl debug: image debugging #1257

@ardaguclu

Description

@ardaguclu

What would you like to be added?

Currently, in order to use kubectl debug, user has to pass resource name which should already exist and that might prevent users, if they want to debug just any built image without creating manually.

From kubectl debug ephemeral containers perspective(whose they are running inside the existed pods), this has no meaning. However, from kubectl debug --copy-to perspective, user simply can debug an image by executing;

kubectl debug -it --image=busybox --copy-to=my-debugger

Why is this needed?

In order to debug the built images without relying on any existed resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.sig/cliCategorizes an issue or PR as relevant to SIG CLI.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions