Class HostMaintenancePolicy (2.50.0)

HostMaintenancePolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
maintenance_interval google.cloud.container_v1beta1.types.HostMaintenancePolicy.MaintenanceInterval
Specifies the frequency of planned maintenance events. This field is a member of oneof_ _maintenance_interval.
opportunistic_maintenance_strategy google.cloud.container_v1beta1.types.HostMaintenancePolicy.OpportunisticMaintenanceStrategy
Strategy that will trigger maintenance on behalf of the customer. This field is a member of oneof_ maintenance_strategy.

Classes

MaintenanceInterval

MaintenanceInterval(value)

Allows selecting how infrastructure upgrades should be applied to the cluster or node pool.

OpportunisticMaintenanceStrategy

OpportunisticMaintenanceStrategy(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Strategy that will trigger maintenance on behalf of the customer.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields