Class: Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::HostMaintenancePolicy::OpportunisticMaintenanceStrategy
- 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
-
#maintenance_availability_window ⇒ ::Google::Protobuf::Duration
The window of time that opportunistic maintenance can run.
-
#min_nodes_per_pool ⇒ ::Integer
The minimum nodes required to be available in a pool.
-
#node_idle_time_window ⇒ ::Google::Protobuf::Duration
The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.
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).
864 865 866 867 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 864 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.
864 865 866 867 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 864 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.
864 865 866 867 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 864 class OpportunisticMaintenanceStrategy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |