Struct googapis::google::container::v1::ClusterUpdate [−][src]
pub struct ClusterUpdate {Show 22 fields
pub desired_node_version: String,
pub desired_monitoring_service: String,
pub desired_addons_config: Option<AddonsConfig>,
pub desired_node_pool_id: String,
pub desired_image_type: String,
pub desired_database_encryption: Option<DatabaseEncryption>,
pub desired_workload_identity_config: Option<WorkloadIdentityConfig>,
pub desired_shielded_nodes: Option<ShieldedNodes>,
pub desired_node_pool_autoscaling: Option<NodePoolAutoscaling>,
pub desired_locations: Vec<String>,
pub desired_master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>,
pub desired_cluster_autoscaling: Option<ClusterAutoscaling>,
pub desired_binary_authorization: Option<BinaryAuthorization>,
pub desired_logging_service: String,
pub desired_resource_usage_export_config: Option<ResourceUsageExportConfig>,
pub desired_vertical_pod_autoscaling: Option<VerticalPodAutoscaling>,
pub desired_private_cluster_config: Option<PrivateClusterConfig>,
pub desired_intra_node_visibility_config: Option<IntraNodeVisibilityConfig>,
pub desired_default_snat_status: Option<DefaultSnatStatus>,
pub desired_release_channel: Option<ReleaseChannel>,
pub desired_authenticator_groups_config: Option<AuthenticatorGroupsConfig>,
pub desired_master_version: String,
}
Expand description
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.
Fields
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: Option<AddonsConfig>
Configurations for the various addons available to run in the cluster.
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: Option<DatabaseEncryption>
Configuration of etcd encryption.
desired_workload_identity_config: Option<WorkloadIdentityConfig>
Configuration for Workload Identity.
desired_shielded_nodes: Option<ShieldedNodes>
Configuration for Shielded Nodes.
desired_node_pool_autoscaling: Option<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: Vec<String>
The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) 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.
The desired configuration options for master authorized networks feature.
desired_cluster_autoscaling: Option<ClusterAutoscaling>
Cluster-level autoscaling configuration.
The desired configuration options for the Binary Authorization feature.
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 modellogging.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: Option<ResourceUsageExportConfig>
The desired configuration for exporting resource usage.
desired_vertical_pod_autoscaling: Option<VerticalPodAutoscaling>
Cluster-level Vertical Pod Autoscaling configuration.
desired_private_cluster_config: Option<PrivateClusterConfig>
The desired private cluster configuration.
desired_intra_node_visibility_config: Option<IntraNodeVisibilityConfig>
The desired config of Intra-node visibility.
desired_default_snat_status: Option<DefaultSnatStatus>
The desired status of whether to disable default sNAT for this cluster.
desired_release_channel: Option<ReleaseChannel>
The desired release channel configuration.
desired_authenticator_groups_config: Option<AuthenticatorGroupsConfig>
The desired authenticator groups config for the cluster.
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
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ClusterUpdate
impl Send for ClusterUpdate
impl Sync for ClusterUpdate
impl Unpin for ClusterUpdate
impl UnwindSafe for ClusterUpdate
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more