Google Cloud Container V1 Client - Class AddonsConfig (1.21.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class AddonsConfig.

Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.

Generated from protobuf message google.container.v1.AddonsConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ http_load_balancing Google\Cloud\Container\V1\HttpLoadBalancing

Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

↳ horizontal_pod_autoscaling Google\Cloud\Container\V1\HorizontalPodAutoscaling

Configuration 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.

↳ kubernetes_dashboard Google\Cloud\Container\V1\KubernetesDashboard

Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards

↳ network_policy_config Google\Cloud\Container\V1\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.

↳ cloud_run_config Google\Cloud\Container\V1\CloudRunConfig

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

↳ dns_cache_config Google\Cloud\Container\V1\DnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

↳ config_connector_config Google\Cloud\Container\V1\ConfigConnectorConfig

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

↳ gce_persistent_disk_csi_driver_config Google\Cloud\Container\V1\GcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

↳ gcp_filestore_csi_driver_config Google\Cloud\Container\V1\GcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

↳ gke_backup_agent_config Google\Cloud\Container\V1\GkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

↳ gcs_fuse_csi_driver_config Google\Cloud\Container\V1\GcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

getHttpLoadBalancing

Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

Returns
TypeDescription
Google\Cloud\Container\V1\HttpLoadBalancing|null

hasHttpLoadBalancing

clearHttpLoadBalancing

setHttpLoadBalancing

Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

Parameter
NameDescription
var Google\Cloud\Container\V1\HttpLoadBalancing
Returns
TypeDescription
$this

getHorizontalPodAutoscaling

Configuration 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.

Returns
TypeDescription
Google\Cloud\Container\V1\HorizontalPodAutoscaling|null

hasHorizontalPodAutoscaling

clearHorizontalPodAutoscaling

setHorizontalPodAutoscaling

Configuration 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.

Parameter
NameDescription
var Google\Cloud\Container\V1\HorizontalPodAutoscaling
Returns
TypeDescription
$this

getKubernetesDashboard

Configuration for the Kubernetes Dashboard.

This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards

Returns
TypeDescription
Google\Cloud\Container\V1\KubernetesDashboard|null

hasKubernetesDashboard

clearKubernetesDashboard

setKubernetesDashboard

Configuration for the Kubernetes Dashboard.

This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards

Parameter
NameDescription
var Google\Cloud\Container\V1\KubernetesDashboard
Returns
TypeDescription
$this

getNetworkPolicyConfig

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.

Returns
TypeDescription
Google\Cloud\Container\V1\NetworkPolicyConfig|null

hasNetworkPolicyConfig

clearNetworkPolicyConfig

setNetworkPolicyConfig

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.

Parameter
NameDescription
var Google\Cloud\Container\V1\NetworkPolicyConfig
Returns
TypeDescription
$this

getCloudRunConfig

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

Returns
TypeDescription
Google\Cloud\Container\V1\CloudRunConfig|null

hasCloudRunConfig

clearCloudRunConfig

setCloudRunConfig

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

Parameter
NameDescription
var Google\Cloud\Container\V1\CloudRunConfig
Returns
TypeDescription
$this

getDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Returns
TypeDescription
Google\Cloud\Container\V1\DnsCacheConfig|null

hasDnsCacheConfig

clearDnsCacheConfig

setDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Parameter
NameDescription
var Google\Cloud\Container\V1\DnsCacheConfig
Returns
TypeDescription
$this

getConfigConnectorConfig

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

Returns
TypeDescription
Google\Cloud\Container\V1\ConfigConnectorConfig|null

hasConfigConnectorConfig

clearConfigConnectorConfig

setConfigConnectorConfig

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

Parameter
NameDescription
var Google\Cloud\Container\V1\ConfigConnectorConfig
Returns
TypeDescription
$this

getGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Returns
TypeDescription
Google\Cloud\Container\V1\GcePersistentDiskCsiDriverConfig|null

hasGcePersistentDiskCsiDriverConfig

clearGcePersistentDiskCsiDriverConfig

setGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Parameter
NameDescription
var Google\Cloud\Container\V1\GcePersistentDiskCsiDriverConfig
Returns
TypeDescription
$this

getGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Returns
TypeDescription
Google\Cloud\Container\V1\GcpFilestoreCsiDriverConfig|null

hasGcpFilestoreCsiDriverConfig

clearGcpFilestoreCsiDriverConfig

setGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Parameter
NameDescription
var Google\Cloud\Container\V1\GcpFilestoreCsiDriverConfig
Returns
TypeDescription
$this

getGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Returns
TypeDescription
Google\Cloud\Container\V1\GkeBackupAgentConfig|null

hasGkeBackupAgentConfig

clearGkeBackupAgentConfig

setGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Parameter
NameDescription
var Google\Cloud\Container\V1\GkeBackupAgentConfig
Returns
TypeDescription
$this

getGcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Returns
TypeDescription
Google\Cloud\Container\V1\GcsFuseCsiDriverConfig|null

hasGcsFuseCsiDriverConfig

clearGcsFuseCsiDriverConfig

setGcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Parameter
NameDescription
var Google\Cloud\Container\V1\GcsFuseCsiDriverConfig
Returns
TypeDescription
$this