-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubectl delete interactivity and delay #2775
Comments
"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." Would it be worth considering adding a --delay option, with a default of x seconds? In this way, anyone who individually or with automation / scripts etc wants to quickly delete everything could do so with "--delay 0" |
@hyakuhei - I asked the same in the meeting as well. Looks like currently it is targeted for client execute command. I am not sure if it can be handled at any predefined config level or kubeconfig or properties |
/assign raghvenders |
@eddiezane, kindly guide me on how to move forward to work on this issue. |
This is good, thanks guys. |
I'm working on the KEP and once it's approved and merged we can scope out the technical work. |
fixed discussion link in issue, was put into the incorrect field (prev in the KEP link field) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/assign @raghvenders |
/lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This was superseded by #3895 |
Enhancement Description
--interactive | -i
flag tokubectl 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.k/enhancements
) update PR(s):k/k
) update PR(s):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.
The text was updated successfully, but these errors were encountered: