Struct gapi_grpc::google::container::v1beta1::ClusterUpdate [−][src]
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”, “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: String
The desired image type for the node pool. NOTE: Set the “desired_node_pool” field as well.
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 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_pod_security_policy_config: Option<PodSecurityPolicyConfig>
The desired configuration options for the PodSecurityPolicy 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_cluster_telemetry: Option<ClusterTelemetry>
The desired telemetry integration for the cluster.
desired_release_channel: Option<ReleaseChannel>
The desired release channel configuration.
desired_tpu_config: Option<TpuConfig>
The desired Cloud TPU configuration.
desired_datapath_provider: i32
The desired datapath provider for the cluster.
desired_notification_config: Option<NotificationConfig>
The desired notification configuration.
desired_master_version: String
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: 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_master: Option<Master>
Configuration for master components.
Implementations
impl ClusterUpdate
[src]
pub fn desired_datapath_provider(&self) -> DatapathProvider
[src]
Returns the enum value of desired_datapath_provider
, or the default if the field is set to an invalid enum value.
pub fn set_desired_datapath_provider(&mut self, value: DatapathProvider)
[src]
Sets desired_datapath_provider
to the provided enum value.
Trait Implementations
impl Clone for ClusterUpdate
[src]
fn clone(&self) -> ClusterUpdate
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClusterUpdate
[src]
impl Default for ClusterUpdate
[src]
fn default() -> ClusterUpdate
[src]
impl Message for ClusterUpdate
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<ClusterUpdate> for ClusterUpdate
[src]
fn eq(&self, other: &ClusterUpdate) -> bool
[src]
fn ne(&self, other: &ClusterUpdate) -> bool
[src]
impl StructuralPartialEq for ClusterUpdate
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,