RKEControlPlane.status.appliedSpec.upgradeStrategy.workerDrainOptions
WorkerDrainOptions is the drain configuration to be used when draining worker nodes, during both upgrades and machine rollouts.
| Field / Type | Description |
|---|---|
deleteEmptyDirData | DeleteEmptyDirData instructs the drain operation to proceed even if there are pods using emptyDir. |
disableEviction | DisableEviction forces drain to use delete rather than evict. |
enabled | Enabled specifies whether draining is required for the machine pool before upgrading. |
force | Force specifies whether to drain the node even if there are pods not managed by a ReplicationController, Job, or DaemonSet. Drain will not proceed without Force set to true if there are such pods. |
gracePeriod | GracePeriod is the period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used. |
ignoreDaemonSets | IgnoreDaemonSets specifies whether to ignore DaemonSet-managed pods. If there are DaemonSet-managed pods, drain will not proceed without IgnoreDaemonSets set to true (even when set to true, kubectl won't delete pods - so an unset value will default to true).
|
ignoreErrors | IgnoreErrors Ignore errors occurred between drain nodes in group NOTE: currently unimplemented |
PostDrainHooks is a list of hooks to run after draining and updating a node.
| |
PreDrainHooks is a list of hooks to run before draining a node.
| |
skipWaitForDeleteTimeoutSeconds | SkipWaitForDeleteTimeoutSeconds defines how long the draining operation should wait for a given to be removed after deletion. If the pod's DeletionTimestamp is older than N seconds, the drain operation will move on. Seconds must be greater than 0 to skip. |
timeout | Timeout is the time to wait (in seconds) before giving up for one try. |