Google Cloud Container V1 Client - Class AddonsConfig (2.3.0)

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 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 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 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 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 CloudRunConfig

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

↳ dns_cache_config DnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

↳ config_connector_config 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 GcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

↳ gcp_filestore_csi_driver_config GcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

↳ gke_backup_agent_config GkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

↳ gcs_fuse_csi_driver_config GcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

↳ stateful_ha_config StatefulHAConfig

Optional. Configuration for the StatefulHA add-on.

↳ parallelstore_csi_driver_config ParallelstoreCsiDriverConfig

Configuration for the Cloud Storage Parallelstore CSI driver.

↳ ray_operator_config 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
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 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
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 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
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 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
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 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
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 CloudRunConfig
Returns
Type Description
$this

getDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Returns
Type Description
DnsCacheConfig|null

hasDnsCacheConfig

clearDnsCacheConfig

setDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Parameter
Name Description
var 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
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 ConfigConnectorConfig
Returns
Type Description
$this

getGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Returns
Type Description
GcePersistentDiskCsiDriverConfig|null

hasGcePersistentDiskCsiDriverConfig

clearGcePersistentDiskCsiDriverConfig

setGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Parameter
Name Description
var GcePersistentDiskCsiDriverConfig
Returns
Type Description
$this

getGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Returns
Type Description
GcpFilestoreCsiDriverConfig|null

hasGcpFilestoreCsiDriverConfig

clearGcpFilestoreCsiDriverConfig

setGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Parameter
Name Description
var GcpFilestoreCsiDriverConfig
Returns
Type Description
$this

getGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Returns
Type Description
GkeBackupAgentConfig|null

hasGkeBackupAgentConfig

clearGkeBackupAgentConfig

setGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Parameter
Name Description
var GkeBackupAgentConfig
Returns
Type Description
$this

getGcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Returns
Type Description
GcsFuseCsiDriverConfig|null

hasGcsFuseCsiDriverConfig

clearGcsFuseCsiDriverConfig

setGcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Parameter
Name Description
var GcsFuseCsiDriverConfig
Returns
Type Description
$this

getStatefulHaConfig

Optional. Configuration for the StatefulHA add-on.

Returns
Type Description
StatefulHAConfig|null

hasStatefulHaConfig

clearStatefulHaConfig

setStatefulHaConfig

Optional. Configuration for the StatefulHA add-on.

Parameter
Name Description
var StatefulHAConfig
Returns
Type Description
$this

getParallelstoreCsiDriverConfig

Configuration for the Cloud Storage Parallelstore CSI driver.

Returns
Type Description
ParallelstoreCsiDriverConfig|null

hasParallelstoreCsiDriverConfig

clearParallelstoreCsiDriverConfig

setParallelstoreCsiDriverConfig

Configuration for the Cloud Storage Parallelstore CSI driver.

Parameter
Name Description
var ParallelstoreCsiDriverConfig
Returns
Type Description
$this

getRayOperatorConfig

Optional. Configuration for Ray Operator addon.

Returns
Type Description
RayOperatorConfig|null

hasRayOperatorConfig

clearRayOperatorConfig

setRayOperatorConfig

Optional. Configuration for Ray Operator addon.

Parameter
Name Description
var RayOperatorConfig
Returns
Type Description
$this