Google Cloud Container V1 Client - Class NodeManagement (1.9.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class NodeManagement.

NodeManagement defines the set of node management services turned on for the node pool.

Generated from protobuf message google.container.v1.NodeManagement

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ auto_upgrade bool

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

↳ auto_repair bool

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

↳ upgrade_options Google\Cloud\Container\V1\AutoUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

getAutoUpgrade

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

Generated from protobuf field bool auto_upgrade = 1;

Returns
TypeDescription
bool

setAutoUpgrade

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

Generated from protobuf field bool auto_upgrade = 1;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAutoRepair

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

Generated from protobuf field bool auto_repair = 2;

Returns
TypeDescription
bool

setAutoRepair

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

Generated from protobuf field bool auto_repair = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

Generated from protobuf field .google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Returns
TypeDescription
Google\Cloud\Container\V1\AutoUpgradeOptions|null

hasUpgradeOptions

clearUpgradeOptions

setUpgradeOptions

Specifies the Auto Upgrade knobs for the node pool.

Generated from protobuf field .google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Parameter
NameDescription
var Google\Cloud\Container\V1\AutoUpgradeOptions
Returns
TypeDescription
$this