Skip to content

kubectl --dry-run #11488

@bgrant0607

Description

@bgrant0607

kubectl should support a --dry-run option for every mutation to show what it would do, without actually doing it

We might need API changes in order to make this high-fidelity. For instance, if we wanted to know what a pod config would look like after admission control populated defaults, we'd need to execute most of the creation path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/kubectllifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/backlogHigher priority than priority/awaiting-more-evidence.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.sig/cliCategorizes an issue or PR as relevant to SIG CLI.size/LDenotes a PR that changes 100-499 lines, ignoring generated files.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions