Enum HostMaintenancePolicy.MaintenanceInterval (2.44.0)

public enum HostMaintenancePolicy.MaintenanceInterval extends Enum<HostMaintenancePolicy.MaintenanceInterval> implements ProtocolMessageEnum

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

Protobuf enum google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AS_NEEDED

Nodes are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the node than the PERIODIC option.

AS_NEEDED = 1;

AS_NEEDED_VALUE

Nodes are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the node than the PERIODIC option.

AS_NEEDED = 1;

MAINTENANCE_INTERVAL_UNSPECIFIED

The maintenance interval is not explicitly specified.

MAINTENANCE_INTERVAL_UNSPECIFIED = 0;

MAINTENANCE_INTERVAL_UNSPECIFIED_VALUE

The maintenance interval is not explicitly specified.

MAINTENANCE_INTERVAL_UNSPECIFIED = 0;

PERIODIC

Nodes receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean underlying VMs will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.

PERIODIC = 2;

PERIODIC_VALUE

Nodes receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean underlying VMs will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.

PERIODIC = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()