NodeEvictionNodePoolSettings

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

Bases: object

Node Eviction Details configuration

Methods

__init__(**kwargs) Initializes a new NodeEvictionNodePoolSettings object with values from keyword arguments.

Attributes

eviction_grace_duration Gets the eviction_grace_duration of this NodeEvictionNodePoolSettings.
is_force_delete_after_grace_duration Gets the is_force_delete_after_grace_duration of this NodeEvictionNodePoolSettings.
__init__(**kwargs)

Initializes a new NodeEvictionNodePoolSettings 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 NodeEvictionNodePoolSettings.
  • is_force_delete_after_grace_duration (bool) – The value to assign to the is_force_delete_after_grace_duration property of this NodeEvictionNodePoolSettings.
eviction_grace_duration

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

Returns:The eviction_grace_duration of this NodeEvictionNodePoolSettings.
Return type:str
is_force_delete_after_grace_duration

Gets the is_force_delete_after_grace_duration of this NodeEvictionNodePoolSettings. If the underlying compute instance should be deleted if you cannot evict all the pods in grace period

Returns:The is_force_delete_after_grace_duration of this NodeEvictionNodePoolSettings.
Return type:bool