Google Anthos Multi Cloud V1 Client - Class MaxPodsConstraint (0.3.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class MaxPodsConstraint.

Constraints applied to pods.

Generated from protobuf message google.cloud.gkemulticloud.v1.MaxPodsConstraint

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ max_pods_per_node int|string

Required. The maximum number of pods to schedule on a single node.

getMaxPodsPerNode

Required. The maximum number of pods to schedule on a single node.

Returns
TypeDescription
int|string

setMaxPodsPerNode

Required. The maximum number of pods to schedule on a single node.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this