Merge pull request #127512 from bergerhoffer/adding-interactive-delete

Adding example for interactive delete
This commit is contained in:
Kubernetes Prow Robot 2024-09-23 07:59:59 +01:00 committed by GitHub
commit 257d6f3f5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,10 @@ var (
kubectl delete pod foo --force
# Delete all pods
kubectl delete pods --all`))
kubectl delete pods --all
# Delete all pods only if the user confirms the deletion
kubectl delete pods --all --interactive`))
)
type DeleteOptions struct {