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
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that a Heapster pod is running in the cluster, which is also used by the Cloud Monitoring service. Corresponds to the JSON property `disabled` @return [Boolean]
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that a Heapster pod is running in the cluster, which is also used by the Cloud Monitoring service. Corresponds to the JSON property `disabled` @return [Boolean]
Public Class Methods
# File generated/google/apis/container_v1/classes.rb, line 413 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/container_v1/classes.rb, line 418 def update!(**args) @disabled = args[:disabled] if args.key?(:disabled) end