NodeEvictionSettings

class oci.container_engine.models.NodeEvictionSettings(**kwargs)

Bases: object

Node Eviction Configuration

Methods:

__init__(**kwargs)

Initializes a new NodeEvictionSettings object with values from keyword arguments.

Attributes:

eviction_grace_duration

Gets the eviction_grace_duration of this NodeEvictionSettings.

is_force_action_after_grace_duration

Gets the is_force_action_after_grace_duration of this NodeEvictionSettings.

__init__(**kwargs)

Initializes a new NodeEvictionSettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • eviction_grace_duration (str) – The value to assign to the eviction_grace_duration property of this NodeEvictionSettings.

  • is_force_action_after_grace_duration (bool) – The value to assign to the is_force_action_after_grace_duration property of this NodeEvictionSettings.

property eviction_grace_duration

Gets the eviction_grace_duration of this NodeEvictionSettings. Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to perform node action without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M

Returns

The eviction_grace_duration of this NodeEvictionSettings.

Return type

str

property is_force_action_after_grace_duration

Gets the is_force_action_after_grace_duration of this NodeEvictionSettings. If the node action should be performed if not all the pods can be evicted in the grace period

Returns

The is_force_action_after_grace_duration of this NodeEvictionSettings.

Return type

bool