Class: Google::Apis::ContainerV1::AddonsConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContainerV1::AddonsConfig
 
- Defined in:
- generated/google/apis/container_v1/classes.rb,
 generated/google/apis/container_v1/representations.rb,
 generated/google/apis/container_v1/representations.rb
Overview
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
Instance Attribute Summary collapse
- 
  
    
      #horizontal_pod_autoscaling  ⇒ 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. 
- 
  
    
      #http_load_balancing  ⇒ Google::Apis::ContainerV1::HttpLoadBalancing 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    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. 
- 
  
    
      #kubernetes_dashboard  ⇒ Google::Apis::ContainerV1::KubernetesDashboard 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Configuration for the Kubernetes Dashboard. 
- 
  
    
      #network_policy_config  ⇒ Google::Apis::ContainerV1::NetworkPolicyConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Configuration for NetworkPolicy. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AddonsConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AddonsConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddonsConfig
Returns a new instance of AddonsConfig
| 81 82 83 | # File 'generated/google/apis/container_v1/classes.rb', line 81 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#horizontal_pod_autoscaling ⇒ 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.
Corresponds to the JSON property horizontalPodAutoscaling
| 61 62 63 | # File 'generated/google/apis/container_v1/classes.rb', line 61 def horizontal_pod_autoscaling @horizontal_pod_autoscaling end | 
#http_load_balancing ⇒ Google::Apis::ContainerV1::HttpLoadBalancing
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
| 67 68 69 | # File 'generated/google/apis/container_v1/classes.rb', line 67 def http_load_balancing @http_load_balancing end | 
#kubernetes_dashboard ⇒ Google::Apis::ContainerV1::KubernetesDashboard
Configuration for the Kubernetes Dashboard.
Corresponds to the JSON property kubernetesDashboard
| 72 73 74 | # File 'generated/google/apis/container_v1/classes.rb', line 72 def kubernetes_dashboard @kubernetes_dashboard end | 
#network_policy_config ⇒ Google::Apis::ContainerV1::NetworkPolicyConfig
Configuration for NetworkPolicy. This only tracks whether the addon
is enabled or not on the Master, it does not track whether network policy
is enabled for the nodes.
Corresponds to the JSON property networkPolicyConfig
| 79 80 81 | # File 'generated/google/apis/container_v1/classes.rb', line 79 def network_policy_config @network_policy_config end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 86 87 88 89 90 91 | # File 'generated/google/apis/container_v1/classes.rb', line 86 def update!(**args) @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard) @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config) end |