Reference documentation and code samples for the Google Cloud Container V1 Client class ClusterUpdate.
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
Generated from protobuf message google.container.v1.ClusterUpdate
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ desired_node_version
string
The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
↳ desired_monitoring_service
string
The monitoring service the cluster should use to write metrics. Currently available options: * * monitoring.googleapis.com/kubernetes
- The Cloud Monitoring service with a Kubernetes-native resource model * * monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * * none
- No metrics will be exported from the cluster. If left as an empty string, monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ or monitoring.googleapis.com
for earlier versions.
↳ desired_addons_config
↳ desired_node_pool_id
string
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
↳ desired_image_type
string
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
↳ desired_database_encryption
↳ desired_workload_identity_config
↳ desired_mesh_certificates
↳ desired_shielded_nodes
↳ desired_cost_management_config
↳ desired_dns_config
↳ desired_node_pool_autoscaling
NodePoolAutoscaling
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
↳ desired_locations
array
The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.
↳ desired_master_authorized_networks_config
MasterAuthorizedNetworksConfig
The desired configuration options for master authorized networks feature. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
↳ desired_cluster_autoscaling
↳ desired_binary_authorization
↳ desired_logging_service
string
The logging service the cluster should use to write logs. Currently available options: * * logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model * * logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). * * none
- no logs will be exported from the cluster. If left as an empty string, logging.googleapis.com/kubernetes
will be used for GKE 1.14+ or logging.googleapis.com
for earlier versions.
↳ desired_resource_usage_export_config
↳ desired_vertical_pod_autoscaling
↳ desired_private_cluster_config
PrivateClusterConfig
The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig . Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
↳ desired_intra_node_visibility_config
↳ desired_default_snat_status
↳ desired_release_channel
↳ desired_l4ilb_subsetting_config
↳ desired_datapath_provider
int
The desired datapath provider for the cluster.
↳ desired_private_ipv6_google_access
int
The desired state of IPv6 connectivity to Google Services.
↳ desired_notification_config
↳ desired_authenticator_groups_config
↳ desired_logging_config
↳ desired_monitoring_config
↳ desired_identity_service_config
↳ desired_service_external_ips_config
ServiceExternalIPsConfig
ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.
↳ desired_enable_private_endpoint
bool
Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
↳ desired_default_enable_private_nodes
bool
Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes
↳ desired_control_plane_endpoints_config
↳ desired_master_version
string
The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version
↳ desired_gcfs_config
↳ desired_node_pool_auto_config_network_tags
NetworkTags
The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
↳ desired_pod_autoscaling
↳ desired_gateway_api_config
↳ etag
string
The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.
↳ desired_node_pool_logging_config
↳ desired_fleet
↳ desired_stack_type
int
The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.
↳ additional_pod_ranges_config
AdditionalPodRangesConfig
The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.
↳ removed_additional_pod_ranges_config
AdditionalPodRangesConfig
The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.
↳ enable_k8s_beta_apis
↳ desired_security_posture_config
↳ desired_network_performance_config
↳ desired_enable_fqdn_network_policy
bool
Enable/Disable FQDN Network Policy for the cluster.
↳ desired_autopilot_workload_policy_config
↳ desired_k8s_beta_apis
↳ desired_containerd_config
↳ desired_enable_multi_networking
bool
Enable/Disable Multi-Networking for the cluster
↳ desired_node_pool_auto_config_resource_manager_tags
ResourceManagerTags
The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
↳ desired_in_transit_encryption_config
int
Specify the details of in-transit encryption.
↳ desired_enable_cilium_clusterwide_network_policy
bool
Enable/Disable Cilium Clusterwide Network Policy for the cluster.
↳ desired_secret_manager_config
↳ desired_compliance_posture_config
↳ desired_node_kubelet_config
↳ desired_node_pool_auto_config_kubelet_config
NodeKubeletConfig
The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
↳ user_managed_keys_config
UserManagedKeysConfig
The Custom keys configuration for the cluster. This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead.
↳ desired_rbac_binding_config
RBACBindingConfig
RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
↳ desired_additional_ip_ranges_config
DesiredAdditionalIPRangesConfig
The desired config for additional subnetworks attached to the cluster.
↳ desired_enterprise_config
↳ desired_auto_ipam_config
↳ desired_disable_l4_lb_firewall_reconciliation
bool
Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
↳ desired_node_pool_auto_config_linux_node_config
LinuxNodeConfig
The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only cgroup_mode
can be set here.
↳ desired_user_managed_keys_config
↳ desired_anonymous_authentication_config
AnonymousAuthenticationConfig
Configuration for limiting anonymous access to all endpoints except the health checks.
↳ gke_auto_upgrade_config
getDesiredNodeVersion
The Kubernetes version to change the nodes to (typically an upgrade).
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the Kubernetes master version
string
setDesiredNodeVersion
The Kubernetes version to change the nodes to (typically an upgrade).
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the Kubernetes master version
var
string
$this
getDesiredMonitoringService
The monitoring service the cluster should use to write metrics.
Currently available options:
-
monitoring.googleapis.com/kubernetes
- The Cloud Monitoring service with a Kubernetes-native resource model -
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). -
none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions.
string
setDesiredMonitoringService
The monitoring service the cluster should use to write metrics.
Currently available options:
-
monitoring.googleapis.com/kubernetes
- The Cloud Monitoring service with a Kubernetes-native resource model -
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). -
none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions.
var
string
$this
getDesiredAddonsConfig
Configurations for the various addons available to run in the cluster.
hasDesiredAddonsConfig
clearDesiredAddonsConfig
setDesiredAddonsConfig
Configurations for the various addons available to run in the cluster.
$this
getDesiredNodePoolId
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
string
setDesiredNodePoolId
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
var
string
$this
getDesiredImageType
The desired image type for the node pool.
NOTE: Set the "desired_node_pool" field as well.
string
setDesiredImageType
The desired image type for the node pool.
NOTE: Set the "desired_node_pool" field as well.
var
string
$this
getDesiredDatabaseEncryption
Configuration of etcd encryption.
hasDesiredDatabaseEncryption
clearDesiredDatabaseEncryption
setDesiredDatabaseEncryption
Configuration of etcd encryption.
$this
getDesiredWorkloadIdentityConfig
Configuration for Workload Identity.
hasDesiredWorkloadIdentityConfig
clearDesiredWorkloadIdentityConfig
setDesiredWorkloadIdentityConfig
Configuration for Workload Identity.
$this
getDesiredMeshCertificates
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
hasDesiredMeshCertificates
clearDesiredMeshCertificates
setDesiredMeshCertificates
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
$this
getDesiredShieldedNodes
Configuration for Shielded Nodes.
hasDesiredShieldedNodes
clearDesiredShieldedNodes
setDesiredShieldedNodes
Configuration for Shielded Nodes.
$this
getDesiredCostManagementConfig
The desired configuration for the fine-grained cost management feature.
hasDesiredCostManagementConfig
clearDesiredCostManagementConfig
setDesiredCostManagementConfig
The desired configuration for the fine-grained cost management feature.
$this
getDesiredDnsConfig
DNSConfig contains clusterDNS config for this cluster.
hasDesiredDnsConfig
clearDesiredDnsConfig
setDesiredDnsConfig
DNSConfig contains clusterDNS config for this cluster.
$this
getDesiredNodePoolAutoscaling
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
hasDesiredNodePoolAutoscaling
clearDesiredNodePoolAutoscaling
setDesiredNodePoolAutoscaling
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
$this
getDesiredLocations
The desired list of Google Compute Engine zones in which the cluster's nodes should be located.
This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.
setDesiredLocations
The desired list of Google Compute Engine zones in which the cluster's nodes should be located.
This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.
var
string[]
$this
getDesiredMasterAuthorizedNetworksConfig
The desired configuration options for master authorized networks feature.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
hasDesiredMasterAuthorizedNetworksConfig
clearDesiredMasterAuthorizedNetworksConfig
setDesiredMasterAuthorizedNetworksConfig
The desired configuration options for master authorized networks feature.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
$this
getDesiredClusterAutoscaling
Cluster-level autoscaling configuration.
hasDesiredClusterAutoscaling
clearDesiredClusterAutoscaling
setDesiredClusterAutoscaling
Cluster-level autoscaling configuration.
$this
getDesiredBinaryAuthorization
The desired configuration options for the Binary Authorization feature.
hasDesiredBinaryAuthorization
clearDesiredBinaryAuthorization
setDesiredBinaryAuthorization
The desired configuration options for the Binary Authorization feature.
$this
getDesiredLoggingService
The logging service the cluster should use to write logs.
Currently available options:
-
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model -
logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). -
none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions.
string
setDesiredLoggingService
The logging service the cluster should use to write logs.
Currently available options:
-
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model -
logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). -
none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions.
var
string
$this
getDesiredResourceUsageExportConfig
The desired configuration for exporting resource usage.
hasDesiredResourceUsageExportConfig
clearDesiredResourceUsageExportConfig
setDesiredResourceUsageExportConfig
The desired configuration for exporting resource usage.
$this
getDesiredVerticalPodAutoscaling
Cluster-level Vertical Pod Autoscaling configuration.
hasDesiredVerticalPodAutoscaling
clearDesiredVerticalPodAutoscaling
setDesiredVerticalPodAutoscaling
Cluster-level Vertical Pod Autoscaling configuration.
$this
getDesiredPrivateClusterConfig
The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field.
See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig . Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
hasDesiredPrivateClusterConfig
clearDesiredPrivateClusterConfig
setDesiredPrivateClusterConfig
The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field.
See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig . Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
$this
getDesiredIntraNodeVisibilityConfig
The desired config of Intra-node visibility.
hasDesiredIntraNodeVisibilityConfig
clearDesiredIntraNodeVisibilityConfig
setDesiredIntraNodeVisibilityConfig
The desired config of Intra-node visibility.
$this
getDesiredDefaultSnatStatus
The desired status of whether to disable default sNAT for this cluster.
hasDesiredDefaultSnatStatus
clearDesiredDefaultSnatStatus
setDesiredDefaultSnatStatus
The desired status of whether to disable default sNAT for this cluster.
$this
getDesiredReleaseChannel
The desired release channel configuration.
hasDesiredReleaseChannel
clearDesiredReleaseChannel
setDesiredReleaseChannel
The desired release channel configuration.
$this
getDesiredL4IlbSubsettingConfig
The desired L4 Internal Load Balancer Subsetting configuration.
hasDesiredL4IlbSubsettingConfig
clearDesiredL4IlbSubsettingConfig
setDesiredL4IlbSubsettingConfig
The desired L4 Internal Load Balancer Subsetting configuration.
$this
getDesiredDatapathProvider
The desired datapath provider for the cluster.
int
setDesiredDatapathProvider
The desired datapath provider for the cluster.
var
int
$this
getDesiredPrivateIpv6GoogleAccess
The desired state of IPv6 connectivity to Google Services.
int
setDesiredPrivateIpv6GoogleAccess
The desired state of IPv6 connectivity to Google Services.
var
int
$this
getDesiredNotificationConfig
The desired notification configuration.
hasDesiredNotificationConfig
clearDesiredNotificationConfig
setDesiredNotificationConfig
The desired notification configuration.
$this
getDesiredAuthenticatorGroupsConfig
The desired authenticator groups config for the cluster.
hasDesiredAuthenticatorGroupsConfig
clearDesiredAuthenticatorGroupsConfig
setDesiredAuthenticatorGroupsConfig
The desired authenticator groups config for the cluster.
$this
getDesiredLoggingConfig
The desired logging configuration.
hasDesiredLoggingConfig
clearDesiredLoggingConfig
setDesiredLoggingConfig
The desired logging configuration.
$this
getDesiredMonitoringConfig
The desired monitoring configuration.
hasDesiredMonitoringConfig
clearDesiredMonitoringConfig
setDesiredMonitoringConfig
The desired monitoring configuration.
$this
getDesiredIdentityServiceConfig
The desired Identity Service component configuration.
hasDesiredIdentityServiceConfig
clearDesiredIdentityServiceConfig
setDesiredIdentityServiceConfig
The desired Identity Service component configuration.
$this
getDesiredServiceExternalIpsConfig
ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.
hasDesiredServiceExternalIpsConfig
clearDesiredServiceExternalIpsConfig
setDesiredServiceExternalIpsConfig
ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.
$this
getDesiredEnablePrivateEndpoint
Enable/Disable private endpoint for the cluster's master.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
bool
hasDesiredEnablePrivateEndpoint
clearDesiredEnablePrivateEndpoint
setDesiredEnablePrivateEndpoint
Enable/Disable private endpoint for the cluster's master.
Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
var
bool
$this
getDesiredDefaultEnablePrivateNodes
Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes
bool
hasDesiredDefaultEnablePrivateNodes
clearDesiredDefaultEnablePrivateNodes
setDesiredDefaultEnablePrivateNodes
Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes
var
bool
$this
getDesiredControlPlaneEndpointsConfig
Control plane endpoints configuration.
hasDesiredControlPlaneEndpointsConfig
clearDesiredControlPlaneEndpointsConfig
setDesiredControlPlaneEndpointsConfig
Control plane endpoints configuration.
$this
getDesiredMasterVersion
The Kubernetes version to change the master to.
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the default Kubernetes version
string
setDesiredMasterVersion
The Kubernetes version to change the master to.
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- "latest": picks the highest valid Kubernetes version
- "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- "1.X.Y-gke.N": picks an explicit Kubernetes version
- "-": picks the default Kubernetes version
var
string
$this
getDesiredGcfsConfig
The desired GCFS config for the cluster
hasDesiredGcfsConfig
clearDesiredGcfsConfig
setDesiredGcfsConfig
The desired GCFS config for the cluster
$this
getDesiredNodePoolAutoConfigNetworkTags
The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
hasDesiredNodePoolAutoConfigNetworkTags
clearDesiredNodePoolAutoConfigNetworkTags
setDesiredNodePoolAutoConfigNetworkTags
The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
$this
getDesiredPodAutoscaling
The desired config for pod autoscaling.
hasDesiredPodAutoscaling
clearDesiredPodAutoscaling
setDesiredPodAutoscaling
The desired config for pod autoscaling.
$this
getDesiredGatewayApiConfig
The desired config of Gateway API on this cluster.
hasDesiredGatewayApiConfig
clearDesiredGatewayApiConfig
setDesiredGatewayApiConfig
The desired config of Gateway API on this cluster.
$this
getEtag
The current etag of the cluster.
If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.
string
setEtag
The current etag of the cluster.
If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.
var
string
$this
getDesiredNodePoolLoggingConfig
The desired node pool logging configuration defaults for the cluster.
hasDesiredNodePoolLoggingConfig
clearDesiredNodePoolLoggingConfig
setDesiredNodePoolLoggingConfig
The desired node pool logging configuration defaults for the cluster.
$this
getDesiredFleet
The desired fleet configuration for the cluster.
hasDesiredFleet
clearDesiredFleet
setDesiredFleet
The desired fleet configuration for the cluster.
$this
getDesiredStackType
The desired stack type of the cluster.
If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.
int
setDesiredStackType
The desired stack type of the cluster.
If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.
var
int
$this
getAdditionalPodRangesConfig
The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.
hasAdditionalPodRangesConfig
clearAdditionalPodRangesConfig
setAdditionalPodRangesConfig
The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.
$this
getRemovedAdditionalPodRangesConfig
The additional pod ranges that are to be removed from the cluster.
The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.
hasRemovedAdditionalPodRangesConfig
clearRemovedAdditionalPodRangesConfig
setRemovedAdditionalPodRangesConfig
The additional pod ranges that are to be removed from the cluster.
The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.
$this
getEnableK8SBetaApis
Kubernetes open source beta apis enabled on the cluster. Only beta apis
hasEnableK8SBetaApis
clearEnableK8SBetaApis
setEnableK8SBetaApis
Kubernetes open source beta apis enabled on the cluster. Only beta apis
$this
getDesiredSecurityPostureConfig
Enable/Disable Security Posture API features for the cluster.
hasDesiredSecurityPostureConfig
clearDesiredSecurityPostureConfig
setDesiredSecurityPostureConfig
Enable/Disable Security Posture API features for the cluster.
$this
getDesiredNetworkPerformanceConfig
The desired network performance config.
hasDesiredNetworkPerformanceConfig
clearDesiredNetworkPerformanceConfig
setDesiredNetworkPerformanceConfig
The desired network performance config.
$this
getDesiredEnableFqdnNetworkPolicy
Enable/Disable FQDN Network Policy for the cluster.
bool
hasDesiredEnableFqdnNetworkPolicy
clearDesiredEnableFqdnNetworkPolicy
setDesiredEnableFqdnNetworkPolicy
Enable/Disable FQDN Network Policy for the cluster.
var
bool
$this
getDesiredAutopilotWorkloadPolicyConfig
WorkloadPolicyConfig is the configuration related to GCW workload policy
hasDesiredAutopilotWorkloadPolicyConfig
clearDesiredAutopilotWorkloadPolicyConfig
setDesiredAutopilotWorkloadPolicyConfig
WorkloadPolicyConfig is the configuration related to GCW workload policy
$this
getDesiredK8SBetaApis
Desired Beta APIs to be enabled for cluster.
hasDesiredK8SBetaApis
clearDesiredK8SBetaApis
setDesiredK8SBetaApis
Desired Beta APIs to be enabled for cluster.
$this
getDesiredContainerdConfig
The desired containerd config for the cluster.
hasDesiredContainerdConfig
clearDesiredContainerdConfig
setDesiredContainerdConfig
The desired containerd config for the cluster.
$this
getDesiredEnableMultiNetworking
Enable/Disable Multi-Networking for the cluster
bool
hasDesiredEnableMultiNetworking
clearDesiredEnableMultiNetworking
setDesiredEnableMultiNetworking
Enable/Disable Multi-Networking for the cluster
var
bool
$this
getDesiredNodePoolAutoConfigResourceManagerTags
The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
hasDesiredNodePoolAutoConfigResourceManagerTags
clearDesiredNodePoolAutoConfigResourceManagerTags
setDesiredNodePoolAutoConfigResourceManagerTags
The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
$this
getDesiredInTransitEncryptionConfig
Specify the details of in-transit encryption.
int
hasDesiredInTransitEncryptionConfig
clearDesiredInTransitEncryptionConfig
setDesiredInTransitEncryptionConfig
Specify the details of in-transit encryption.
var
int
$this
getDesiredEnableCiliumClusterwideNetworkPolicy
Enable/Disable Cilium Clusterwide Network Policy for the cluster.
bool
hasDesiredEnableCiliumClusterwideNetworkPolicy
clearDesiredEnableCiliumClusterwideNetworkPolicy
setDesiredEnableCiliumClusterwideNetworkPolicy
Enable/Disable Cilium Clusterwide Network Policy for the cluster.
var
bool
$this
getDesiredSecretManagerConfig
Enable/Disable Secret Manager Config.
hasDesiredSecretManagerConfig
clearDesiredSecretManagerConfig
setDesiredSecretManagerConfig
Enable/Disable Secret Manager Config.
$this
getDesiredCompliancePostureConfig
Enable/Disable Compliance Posture features for the cluster.
hasDesiredCompliancePostureConfig
clearDesiredCompliancePostureConfig
setDesiredCompliancePostureConfig
Enable/Disable Compliance Posture features for the cluster.
$this
getDesiredNodeKubeletConfig
The desired node kubelet config for the cluster.
hasDesiredNodeKubeletConfig
clearDesiredNodeKubeletConfig
setDesiredNodeKubeletConfig
The desired node kubelet config for the cluster.
$this
getDesiredNodePoolAutoConfigKubeletConfig
The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
hasDesiredNodePoolAutoConfigKubeletConfig
clearDesiredNodePoolAutoConfigKubeletConfig
setDesiredNodePoolAutoConfigKubeletConfig
The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
$this
getUserManagedKeysConfig
The Custom keys configuration for the cluster.
This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead.
hasUserManagedKeysConfig
clearUserManagedKeysConfig
setUserManagedKeysConfig
The Custom keys configuration for the cluster.
This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead.
$this
getDesiredRbacBindingConfig
RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
hasDesiredRbacBindingConfig
clearDesiredRbacBindingConfig
setDesiredRbacBindingConfig
RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
$this
getDesiredAdditionalIpRangesConfig
The desired config for additional subnetworks attached to the cluster.
hasDesiredAdditionalIpRangesConfig
clearDesiredAdditionalIpRangesConfig
setDesiredAdditionalIpRangesConfig
The desired config for additional subnetworks attached to the cluster.
$this
getDesiredEnterpriseConfig
The desired enterprise configuration for the cluster.
hasDesiredEnterpriseConfig
clearDesiredEnterpriseConfig
setDesiredEnterpriseConfig
The desired enterprise configuration for the cluster.
$this
getDesiredAutoIpamConfig
AutoIpamConfig contains all information related to Auto IPAM
hasDesiredAutoIpamConfig
clearDesiredAutoIpamConfig
setDesiredAutoIpamConfig
AutoIpamConfig contains all information related to Auto IPAM
$this
getDesiredDisableL4LbFirewallReconciliation
Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
bool
hasDesiredDisableL4LbFirewallReconciliation
clearDesiredDisableL4LbFirewallReconciliation
setDesiredDisableL4LbFirewallReconciliation
Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
var
bool
$this
getDesiredNodePoolAutoConfigLinuxNodeConfig
The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
Currently only cgroup_mode
can be set here.
hasDesiredNodePoolAutoConfigLinuxNodeConfig
clearDesiredNodePoolAutoConfigLinuxNodeConfig
setDesiredNodePoolAutoConfigLinuxNodeConfig
The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
Currently only cgroup_mode
can be set here.
$this
getDesiredUserManagedKeysConfig
The desired user managed keys config for the cluster.
hasDesiredUserManagedKeysConfig
clearDesiredUserManagedKeysConfig
setDesiredUserManagedKeysConfig
The desired user managed keys config for the cluster.
$this
getDesiredAnonymousAuthenticationConfig
Configuration for limiting anonymous access to all endpoints except the health checks.
hasDesiredAnonymousAuthenticationConfig
clearDesiredAnonymousAuthenticationConfig
setDesiredAnonymousAuthenticationConfig
Configuration for limiting anonymous access to all endpoints except the health checks.
$this
getGkeAutoUpgradeConfig
Configuration for GKE auto upgrade.
hasGkeAutoUpgradeConfig
clearGkeAutoUpgradeConfig
setGkeAutoUpgradeConfig
Configuration for GKE auto upgrade.
$this