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

Adding example for interactive delete

Kubernetes-commit: 257d6f3f5bf75ff0ce6c53c104a0ab9df1ed5059
This commit is contained in:
Kubernetes Publisher 2024-09-23 07:59:59 +01:00
commit 6c52e7fa5d
1 changed files with 4 additions and 1 deletions

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 {