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 | |
---|---|
Name | Description |
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.
Generated from protobuf field int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int|string |
setMaxPodsPerNode
Required. The maximum number of pods to schedule on a single node.
Generated from protobuf field int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |