Google Cloud Container V1 Client - Class AddonsConfig (1.9.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

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.

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.

Generated from protobuf field .google.container.v1.HttpLoadBalancing http_load_balancing = 1;

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.

Generated from protobuf field .google.container.v1.HttpLoadBalancing http_load_balancing = 1;

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.

Generated from protobuf field .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;

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.

Generated from protobuf field .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;

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

Generated from protobuf field .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true];

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

Generated from protobuf field .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true];

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.

Generated from protobuf field .google.container.v1.NetworkPolicyConfig network_policy_config = 4;

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.

Generated from protobuf field .google.container.v1.NetworkPolicyConfig network_policy_config = 4;

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.

Generated from protobuf field .google.container.v1.CloudRunConfig cloud_run_config = 7;

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.

Generated from protobuf field .google.container.v1.CloudRunConfig cloud_run_config = 7;

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

getDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Generated from protobuf field .google.container.v1.DnsCacheConfig dns_cache_config = 8;

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

hasDnsCacheConfig

clearDnsCacheConfig

setDnsCacheConfig

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

Generated from protobuf field .google.container.v1.DnsCacheConfig dns_cache_config = 8;

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

Generated from protobuf field .google.container.v1.ConfigConnectorConfig config_connector_config = 10;

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

Generated from protobuf field .google.container.v1.ConfigConnectorConfig config_connector_config = 10;

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

getGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Generated from protobuf field .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;

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

hasGcePersistentDiskCsiDriverConfig

clearGcePersistentDiskCsiDriverConfig

setGcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine Persistent Disk CSI driver.

Generated from protobuf field .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;

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

getGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Generated from protobuf field .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;

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

hasGcpFilestoreCsiDriverConfig

clearGcpFilestoreCsiDriverConfig

setGcpFilestoreCsiDriverConfig

Configuration for the GCP Filestore CSI driver.

Generated from protobuf field .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;

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

getGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Generated from protobuf field .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;

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

hasGkeBackupAgentConfig

clearGkeBackupAgentConfig

setGkeBackupAgentConfig

Configuration for the Backup for GKE agent addon.

Generated from protobuf field .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;

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