Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureNodePoolAutoscaling.
Configuration related to Kubernetes cluster autoscaler.
The Kubernetes cluster autoscaler will automatically adjust the size of the node pool based on the cluster load.
Generated from protobuf message google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min_node_count |
int
Required. Minimum number of nodes in the node pool. Must be greater than or equal to 1 and less than or equal to max_node_count. |
↳ max_node_count |
int
Required. Maximum number of nodes in the node pool. Must be greater than or equal to min_node_count and less than or equal to 50. |
getMinNodeCount
Required. Minimum number of nodes in the node pool. Must be greater than or equal to 1 and less than or equal to max_node_count.
Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
setMinNodeCount
Required. Minimum number of nodes in the node pool. Must be greater than or equal to 1 and less than or equal to max_node_count.
Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMaxNodeCount
Required. Maximum number of nodes in the node pool. Must be greater than or equal to min_node_count and less than or equal to 50.
Generated from protobuf field int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
setMaxNodeCount
Required. Maximum number of nodes in the node pool. Must be greater than or equal to min_node_count and less than or equal to 50.
Generated from protobuf field int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |