Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::HorizontalPodAutoscaling (v1.3.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disabled

def disabled() -> ::Boolean
Returns
  • (::Boolean) — Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.

#disabled=

def disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Returns
  • (::Boolean) — Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.