Interface NodePool.UpgradeSettingsOrBuilder (2.58.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.v1.BlueGreenSettings blue_green_settings = 4;

Returns
Type Description
BlueGreenSettings

The blueGreenSettings.

getBlueGreenSettingsOrBuilder()

public abstract BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder()

Settings for blue-green upgrade strategy.

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

Returns
Type Description
BlueGreenSettingsOrBuilder

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
Type Description
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
Type Description
int

The maxUnavailable.

getStrategy()

public abstract NodePoolUpdateStrategy getStrategy()

Update strategy of the node pool.

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

Returns
Type Description
NodePoolUpdateStrategy

The strategy.

getStrategyValue()

public abstract int getStrategyValue()

Update strategy of the node pool.

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

Returns
Type Description
int

The enum numeric value on the wire for strategy.

hasBlueGreenSettings()

public abstract boolean hasBlueGreenSettings()

Settings for blue-green upgrade strategy.

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

Returns
Type Description
boolean

Whether the blueGreenSettings field is set.

hasStrategy()

public abstract boolean hasStrategy()

Update strategy of the node pool.

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

Returns
Type Description
boolean

Whether the strategy field is set.