Skip to content

kubectl delete interactivity and delay #2775

Closed
@eddiezane

Description

@eddiezane

Enhancement Description

  • One-line enhancement description (can be used as a release note):
    • Add a new --interactive | -i flag to kubectl delete that will require confirmation before deleting resources. This flag will be false by default.
    • kubectl delete [--all | --all-namespaces] will warn about the destructive action that will be performed and artificially delay for x seconds allowing users a chance to abort.
  • Kubernetes Enhancement Proposal:
  • Discussion Link: https://groups.google.com/g/kubernetes-dev/c/y4Q20V3dyOk
  • Primary contact (assignee): @eddiezane
  • Responsible SIGs: SIG-CLI
  • Enhancement target (which target equals to which milestone):
    • Alpha release target (x.y):
    • Beta release target (x.y):
    • Stable release target (x.y):
  • Alpha
    • KEP (k/enhancements) update PR(s):
    • Code (k/k) update PR(s):
    • Docs (k/website) update PR(s):

Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.

Metadata

Metadata

Assignees

Labels

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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions