mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #96812 from bboreham/comment-grace
Comment default behaviour of kubectl drain.GracePeriodSeconds
This commit is contained in:
commit
c2ac8c360e
@ -49,7 +49,12 @@ type Helper struct {
|
|||||||
Ctx context.Context
|
Ctx context.Context
|
||||||
Client kubernetes.Interface
|
Client kubernetes.Interface
|
||||||
Force bool
|
Force bool
|
||||||
|
|
||||||
|
// GracePeriodSeconds is how long to wait for a pod to terminate.
|
||||||
|
// IMPORTANT: 0 means "delete immediately"; set to a negative value
|
||||||
|
// to use the pod's terminationGracePeriodSeconds.
|
||||||
GracePeriodSeconds int
|
GracePeriodSeconds int
|
||||||
|
|
||||||
IgnoreAllDaemonSets bool
|
IgnoreAllDaemonSets bool
|
||||||
Timeout time.Duration
|
Timeout time.Duration
|
||||||
DeleteEmptyDirData bool
|
DeleteEmptyDirData bool
|
||||||
|
Loading…
Reference in New Issue
Block a user