Interface NodePool.UpgradeSettingsOrBuilder (2.15.0)

public static interface NodePool.UpgradeSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlueGreenSettings()

public abstract BlueGreenSettings getBlueGreenSettings()

Settings for blue-green upgrade strategy.

optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4;

Returns
TypeDescription
BlueGreenSettings

The blueGreenSettings.

getBlueGreenSettingsOrBuilder()

public abstract BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder()

Settings for blue-green upgrade strategy.

optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4;

Returns

getMaxSurge()

public abstract int getMaxSurge()

The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.

int32 max_surge = 1;

Returns
TypeDescription
int

The maxSurge.

getMaxUnavailable()

public abstract int getMaxUnavailable()

The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.

int32 max_unavailable = 2;

Returns
TypeDescription
int

The maxUnavailable.

getStrategy()

public abstract NodePoolUpdateStrategy getStrategy()

Update strategy of the node pool.

optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3;

Returns
TypeDescription
NodePoolUpdateStrategy

The strategy.

getStrategyValue()

public abstract int getStrategyValue()

Update strategy of the node pool.

optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for strategy.

hasBlueGreenSettings()

public abstract boolean hasBlueGreenSettings()

Settings for blue-green upgrade strategy.

optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4;

Returns
TypeDescription
boolean

Whether the blueGreenSettings field is set.

hasStrategy()

public abstract boolean hasStrategy()

Update strategy of the node pool.

optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3;

Returns
TypeDescription
boolean

Whether the strategy field is set.