class Google::Apis::ContainerV1::AddonsConfig
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
Attributes
horizontal_pod_autoscaling[RW]
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. Corresponds to the JSON property `horizontalPodAutoscaling` @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
http_load_balancing[RW]
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. Corresponds to the JSON property `httpLoadBalancing` @return [Google::Apis::ContainerV1::HttpLoadBalancing]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/container_v1/classes.rb, line 366 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/container_v1/classes.rb, line 371 def update!(**args) @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) end