rancher v2.15.1

RKEControlPlane.status.appliedSpec.registries.configs.[key].spec.upgradeStrategy.workerDrainOptions

WorkerDrainOptions is the drain configuration to be used when draining worker nodes, during both upgrades and machine rollouts.

11 fields
RKEControlPlane.status.appliedSpec.registries.configs.[key].spec.upgradeStrategy.workerDrainOptions fields and descriptions
Field / TypeDescription
deleteEmptyDirData
boolean

DeleteEmptyDirData instructs the drain operation to proceed even if there are pods using emptyDir.

disableEviction
boolean

DisableEviction forces drain to use delete rather than evict.

enabled
boolean

Enabled specifies whether draining is required for the machine pool before upgrading.

force
boolean

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
integer

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
boolean

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).

  • nullable
ignoreErrors
boolean

IgnoreErrors Ignore errors occurred between drain nodes in group NOTE: currently unimplemented

object[]

PostDrainHooks is a list of hooks to run after draining and updating a node.

  • nullable
object[]

PreDrainHooks is a list of hooks to run before draining a node.

  • nullable
skipWaitForDeleteTimeoutSeconds
integer

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
integer

Timeout is the time to wait (in seconds) before giving up for one try.