Class ClusterUpdate (2.3.1)

ClusterUpdate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
desired_node_version str
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 str
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 .cluster_service.AddonsConfig
Configurations for the various addons available to run in the cluster.
desired_node_pool_id str
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family", "desired_node_pool_autoscaling", or "desired_workload_metadata_config" is specified and there is more than one node pool on the cluster.
desired_image_type str
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
desired_node_pool_autoscaling .cluster_service.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 Sequence[str]
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 .cluster_service.MasterAuthorizedNetworksConfig
The desired configuration options for master authorized networks feature.
desired_pod_security_policy_config .cluster_service.PodSecurityPolicyConfig
The desired configuration options for the PodSecurityPolicy feature.
desired_cluster_autoscaling .cluster_service.ClusterAutoscaling
Cluster-level autoscaling configuration.
desired_binary_authorization .cluster_service.BinaryAuthorization
The desired configuration options for the Binary Authorization feature.
desired_logging_service str
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 .cluster_service.ResourceUsageExportConfig
The desired configuration for exporting resource usage.
desired_vertical_pod_autoscaling .cluster_service.VerticalPodAutoscaling
Cluster-level Vertical Pod Autoscaling configuration.
desired_private_cluster_config .cluster_service.PrivateClusterConfig
The desired private cluster configuration.
desired_intra_node_visibility_config .cluster_service.IntraNodeVisibilityConfig
The desired config of Intra-node visibility.
desired_default_snat_status .cluster_service.DefaultSnatStatus
The desired status of whether to disable default sNAT for this cluster.
desired_cluster_telemetry .cluster_service.ClusterTelemetry
The desired telemetry integration for the cluster.
desired_release_channel .cluster_service.ReleaseChannel
The desired release channel configuration.
desired_tpu_config .cluster_service.TpuConfig
The desired Cloud TPU configuration.
desired_datapath_provider .cluster_service.DatapathProvider
The desired datapath provider for the cluster.
desired_notification_config .cluster_service.NotificationConfig
The desired notification configuration.
desired_master_version str
The Kubernetes version to change the master to. The only valid value is the latest supported version. 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_database_encryption .cluster_service.DatabaseEncryption
Configuration of etcd encryption.
desired_workload_identity_config .cluster_service.WorkloadIdentityConfig
Configuration for Workload Identity.
desired_shielded_nodes .cluster_service.ShieldedNodes
Configuration for Shielded Nodes.
desired_master .cluster_service.Master
Configuration for master components.