class Google::Apis::ContainerV1::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.

Attributes

disabled[RW]

Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. Corresponds to the JSON property `disabled` @return [Boolean]

disabled?[RW]

Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. Corresponds to the JSON property `disabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1/classes.rb, line 1644
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1/classes.rb, line 1649
def update!(**args)
  @disabled = args[:disabled] if args.key?(:disabled)
end