Google Cloud Container V1 Client - Class HorizontalPodAutoscaling (1.10.3)

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

Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

Generated from protobuf message google.container.v1.HorizontalPodAutoscaling

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disabled bool

Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.

getDisabled

Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.

When enabled, it ensures that metrics are collected into Stackdriver Monitoring.

Returns
TypeDescription
bool

setDisabled

Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.

When enabled, it ensures that metrics are collected into Stackdriver Monitoring.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this