mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
Stop 'drain' deleting pods with local storage.
Unless forced with --delete-local-data. Also a refactoring of the kubectl drain logic that selects/rejects pods and produces error/warning messages.
This commit is contained in:
@@ -32,6 +32,10 @@ will make the node schedulable again.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB\-\-delete\-local\-data\fP=false
|
||||
Continue even if there are pods using emptyDir (local data that will be deleted when the node is drained).
|
||||
|
||||
.PP
|
||||
\fB\-\-force\fP=false
|
||||
Continue even if there are pods not managed by a ReplicationController, ReplicaSet, Job, or DaemonSet.
|
||||
|
Reference in New Issue
Block a user