Google Cloud Container V1 Client - Class AddonsConfig (2.0.0-RC1)

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
Name Description
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.

↳ stateful_ha_config Google\Cloud\Container\V1\StatefulHAConfig

Optional. Configuration for the StatefulHA add-on.

↳ ray_operator_config Google\Cloud\Container\V1\RayOperatorConfig

Optional. Configuration for Ray Operator addon.

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
Type Description
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
Name Description
var Google\Cloud\Container\V1\HttpLoadBalancing
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\Container\V1\HorizontalPodAutoscaling
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\Container\V1\KubernetesDashboard
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\Container\V1\NetworkPolicyConfig
Returns
Type Description
$this

getCloudRunConfig

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

Returns
Type Description
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
Name Description
var Google\Cloud\Container\V1\CloudRunConfig
Returns
Type Description
$this

getDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Returns
Type Description
Google\Cloud\Container\V1\DnsCacheConfig|null

hasDnsCacheConfig

clearDnsCacheConfig

setDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Parameter
Name Description
var Google\Cloud\Container\V1\DnsCacheConfig
Returns
Type Description
$this

getConfigConnectorConfig

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

Returns
Type Description
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
Name Description
var Google\Cloud\Container\V1\ConfigConnectorConfig
Returns
Type Description
$this

getGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Returns
Type Description
Google\Cloud\Container\V1\GcePersistentDiskCsiDriverConfig|null

hasGcePersistentDiskCsiDriverConfig

clearGcePersistentDiskCsiDriverConfig

setGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Parameter
Name Description
var Google\Cloud\Container\V1\GcePersistentDiskCsiDriverConfig
Returns
Type Description
$this

getGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Returns
Type Description
Google\Cloud\Container\V1\GcpFilestoreCsiDriverConfig|null

hasGcpFilestoreCsiDriverConfig

clearGcpFilestoreCsiDriverConfig

setGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Parameter
Name Description
var Google\Cloud\Container\V1\GcpFilestoreCsiDriverConfig
Returns
Type Description
$this

getGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Returns
Type Description
Google\Cloud\Container\V1\GkeBackupAgentConfig|null

hasGkeBackupAgentConfig

clearGkeBackupAgentConfig

setGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Parameter
Name Description
var Google\Cloud\Container\V1\GkeBackupAgentConfig
Returns
Type Description
$this

getGcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Returns
Type Description
Google\Cloud\Container\V1\GcsFuseCsiDriverConfig|null

hasGcsFuseCsiDriverConfig

clearGcsFuseCsiDriverConfig

setGcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Parameter
Name Description
var Google\Cloud\Container\V1\GcsFuseCsiDriverConfig
Returns
Type Description
$this

getStatefulHaConfig

Optional. Configuration for the StatefulHA add-on.

Returns
Type Description
Google\Cloud\Container\V1\StatefulHAConfig|null

hasStatefulHaConfig

clearStatefulHaConfig

setStatefulHaConfig

Optional. Configuration for the StatefulHA add-on.

Parameter
Name Description
var Google\Cloud\Container\V1\StatefulHAConfig
Returns
Type Description
$this

getRayOperatorConfig

Optional. Configuration for Ray Operator addon.

Returns
Type Description
Google\Cloud\Container\V1\RayOperatorConfig|null

hasRayOperatorConfig

clearRayOperatorConfig

setRayOperatorConfig

Optional. Configuration for Ray Operator addon.

Parameter
Name Description
var Google\Cloud\Container\V1\RayOperatorConfig
Returns
Type Description
$this