mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-05 07:35:38 +00:00
Adding example for interactive delete
This commit is contained in:
@@ -103,7 +103,10 @@ var (
|
|||||||
kubectl delete pod foo --force
|
kubectl delete pod foo --force
|
||||||
|
|
||||||
# Delete all pods
|
# 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 {
|
type DeleteOptions struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user