Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy (v0.43.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy.

Strategy that will trigger maintenance on behalf of the customer.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#maintenance_availability_window

def maintenance_availability_window() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all PERIODIC maintenance is set 28 days in advance).

#maintenance_availability_window=

def maintenance_availability_window=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all PERIODIC maintenance is set 28 days in advance).
Returns
  • (::Google::Protobuf::Duration) — The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all PERIODIC maintenance is set 28 days in advance).

#min_nodes_per_pool

def min_nodes_per_pool() -> ::Integer
Returns
  • (::Integer) — The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.

#min_nodes_per_pool=

def min_nodes_per_pool=(value) -> ::Integer
Parameter
  • value (::Integer) — The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.
Returns
  • (::Integer) — The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.

#node_idle_time_window

def node_idle_time_window() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.

#node_idle_time_window=

def node_idle_time_window=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.
Returns
  • (::Google::Protobuf::Duration) — The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.