Class ClusterUpdate (2.1.0)

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 Google Cloud Monitoring service with Kubernetes-native resource model - "monitoring.googleapis.com" - the Google Cloud Monitoring service - "none" - no metrics will be exported from the cluster
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. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
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 metrics. Currently available options: - "logging.googleapis.com/kubernetes" - the Google Cloud Logging service with Kubernetes-native resource model - "logging.googleapis.com" - the Google Cloud Logging service - "none" - no logs will be exported from the cluster
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_intra_node_visibility_config .cluster_service.IntraNodeVisibilityConfig
The desired config of Intra-node visibility.
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