Class: Google::Apis::ContainerV1beta1::AddonsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::AddonsConfig
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb
Overview
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
Instance Attribute Summary collapse
-
#cloud_run_config ⇒ Google::Apis::ContainerV1beta1::CloudRunConfig
Configuration options for the Cloud Run feature.
-
#dns_cache_config ⇒ Google::Apis::ContainerV1beta1::DnsCacheConfig
Configuration for NodeLocal DNSCache Corresponds to the JSON property
dnsCacheConfig
. -
#gce_persistent_disk_csi_driver_config ⇒ Google::Apis::ContainerV1beta1::GcePersistentDiskCsiDriverConfig
Configuration for the GCE PD CSI driver.
-
#horizontal_pod_autoscaling ⇒ Google::Apis::ContainerV1beta1::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::ContainerV1beta1::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.
-
#istio_config ⇒ Google::Apis::ContainerV1beta1::IstioConfig
Configuration options for Istio addon.
-
#kalm_config ⇒ Google::Apis::ContainerV1beta1::KalmConfig
Configuration options for the KALM addon.
-
#kubernetes_dashboard ⇒ Google::Apis::ContainerV1beta1::KubernetesDashboard
Configuration for the Kubernetes Dashboard.
-
#network_policy_config ⇒ Google::Apis::ContainerV1beta1::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.
107 108 109 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_run_config ⇒ Google::Apis::ContainerV1beta1::CloudRunConfig
Configuration options for the Cloud Run feature.
Corresponds to the JSON property cloudRunConfig
59 60 61 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 59 def cloud_run_config @cloud_run_config end |
#dns_cache_config ⇒ Google::Apis::ContainerV1beta1::DnsCacheConfig
Configuration for NodeLocal DNSCache
Corresponds to the JSON property dnsCacheConfig
64 65 66 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 64 def dns_cache_config @dns_cache_config end |
#gce_persistent_disk_csi_driver_config ⇒ Google::Apis::ContainerV1beta1::GcePersistentDiskCsiDriverConfig
Configuration for the GCE PD CSI driver. This option can only be enabled
at cluster creation time.
Corresponds to the JSON property gcePersistentDiskCsiDriverConfig
70 71 72 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 70 def gce_persistent_disk_csi_driver_config @gce_persistent_disk_csi_driver_config end |
#horizontal_pod_autoscaling ⇒ Google::Apis::ContainerV1beta1::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
77 78 79 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 77 def horizontal_pod_autoscaling @horizontal_pod_autoscaling end |
#http_load_balancing ⇒ Google::Apis::ContainerV1beta1::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
83 84 85 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 83 def http_load_balancing @http_load_balancing end |
#istio_config ⇒ Google::Apis::ContainerV1beta1::IstioConfig
Configuration options for Istio addon.
Corresponds to the JSON property istioConfig
88 89 90 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 88 def istio_config @istio_config end |
#kalm_config ⇒ Google::Apis::ContainerV1beta1::KalmConfig
Configuration options for the KALM addon.
Corresponds to the JSON property kalmConfig
93 94 95 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 93 def kalm_config @kalm_config end |
#kubernetes_dashboard ⇒ Google::Apis::ContainerV1beta1::KubernetesDashboard
Configuration for the Kubernetes Dashboard.
Corresponds to the JSON property kubernetesDashboard
98 99 100 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 98 def kubernetes_dashboard @kubernetes_dashboard end |
#network_policy_config ⇒ Google::Apis::ContainerV1beta1::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
105 106 107 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 105 def network_policy_config @network_policy_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
112 113 114 115 116 117 118 119 120 121 122 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 112 def update!(**args) @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config) @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config) @gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config) @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) @istio_config = args[:istio_config] if args.key?(:istio_config) @kalm_config = args[:kalm_config] if args.key?(:kalm_config) @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard) @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config) end |