Struct google_api_proto::google::cloud::gkemulticloud::v1::AwsNodeConfig
source · pub struct AwsNodeConfig {Show 14 fields
pub instance_type: String,
pub root_volume: Option<AwsVolumeTemplate>,
pub taints: Vec<NodeTaint>,
pub labels: BTreeMap<String, String>,
pub tags: BTreeMap<String, String>,
pub iam_instance_profile: String,
pub image_type: String,
pub ssh_config: Option<AwsSshConfig>,
pub security_group_ids: Vec<String>,
pub proxy_config: Option<AwsProxyConfig>,
pub config_encryption: Option<AwsConfigEncryption>,
pub instance_placement: Option<AwsInstancePlacement>,
pub autoscaling_metrics_collection: Option<AwsAutoscalingGroupMetricsCollection>,
pub spot_config: Option<SpotConfig>,
}
Expand description
Parameters that describe the nodes in a cluster.
Fields§
§instance_type: String
Optional. The EC2 instance type when creating on-Demand instances.
If unspecified during node pool creation, a default will be chosen based on the node pool version, and assigned to this field.
root_volume: Option<AwsVolumeTemplate>
Optional. Template for the root volume provisioned for node pool nodes. Volumes will be provisioned in the availability zone assigned to the node pool subnet.
When unspecified, it defaults to 32 GiB with the GP2 volume type.
taints: Vec<NodeTaint>
Optional. The initial taints assigned to nodes of this node pool.
labels: BTreeMap<String, String>
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.
Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
iam_instance_profile: String
Required. The name or ARN of the AWS IAM instance profile to assign to nodes in the pool.
image_type: String
Optional. The OS image type to use on node pool instances.
Can be unspecified, or have a value of ubuntu
.
When unspecified, it defaults to ubuntu
.
ssh_config: Option<AwsSshConfig>
Optional. The SSH configuration.
security_group_ids: Vec<String>
Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster.
proxy_config: Option<AwsProxyConfig>
Optional. Proxy configuration for outbound HTTP(S) traffic.
config_encryption: Option<AwsConfigEncryption>
Required. Config encryption for user data.
instance_placement: Option<AwsInstancePlacement>
Optional. Placement related info for this node. When unspecified, the VPC’s default tenancy will be used.
autoscaling_metrics_collection: Option<AwsAutoscalingGroupMetricsCollection>
Optional. Configuration related to CloudWatch metrics collection on the Auto Scaling group of the node pool.
When unspecified, metrics collection is disabled.
spot_config: Option<SpotConfig>
Optional. Configuration for provisioning EC2 Spot instances
When specified, the node pool will provision Spot instances from the set
of spot_config.instance_types.
This field is mutually exclusive with instance_type
.
Trait Implementations§
source§impl Clone for AwsNodeConfig
impl Clone for AwsNodeConfig
source§fn clone(&self) -> AwsNodeConfig
fn clone(&self) -> AwsNodeConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsNodeConfig
impl Debug for AwsNodeConfig
source§impl Default for AwsNodeConfig
impl Default for AwsNodeConfig
source§impl Message for AwsNodeConfig
impl Message for AwsNodeConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AwsNodeConfig
impl PartialEq for AwsNodeConfig
source§fn eq(&self, other: &AwsNodeConfig) -> bool
fn eq(&self, other: &AwsNodeConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsNodeConfig
Auto Trait Implementations§
impl Freeze for AwsNodeConfig
impl RefUnwindSafe for AwsNodeConfig
impl Send for AwsNodeConfig
impl Sync for AwsNodeConfig
impl Unpin for AwsNodeConfig
impl UnwindSafe for AwsNodeConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request