Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NodePool::NodeDrainConfig.
NodeDrainConfig contains the node drain related configurations for this node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#grace_termination_duration
def grace_termination_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The duration of the grace termination period for node drain.
#grace_termination_duration=
def grace_termination_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The duration of the grace termination period for node drain.
Returns
- (::Google::Protobuf::Duration) — The duration of the grace termination period for node drain.
#pdb_timeout_duration
def pdb_timeout_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The duration of the PDB timeout period for node drain.
#pdb_timeout_duration=
def pdb_timeout_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The duration of the PDB timeout period for node drain.
Returns
- (::Google::Protobuf::Duration) — The duration of the PDB timeout period for node drain.
#respect_pdb_during_node_pool_deletion
def respect_pdb_during_node_pool_deletion() -> ::Boolean
Returns
- (::Boolean) — Whether to respect PDB during node pool deletion.
#respect_pdb_during_node_pool_deletion=
def respect_pdb_during_node_pool_deletion=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to respect PDB during node pool deletion.
Returns
- (::Boolean) — Whether to respect PDB during node pool deletion.