Class: Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

Strategy that will trigger maintenance on behalf of the customer.

Instance Attribute Summary collapse

Instance Attribute Details

#maintenance_availability_window::Google::Protobuf::Duration

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



784
785
786
787
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 784

class OpportunisticMaintenanceStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_nodes_per_pool::Integer

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



784
785
786
787
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 784

class OpportunisticMaintenanceStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_idle_time_window::Google::Protobuf::Duration

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



784
785
786
787
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 784

class OpportunisticMaintenanceStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end