Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig.
Parameters that describe the nodes in a cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#autoscaling_metrics_collection
def autoscaling_metrics_collection() -> ::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection
-
(::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection) — Optional. Configuration related to CloudWatch metrics collection on the
Auto Scaling group of the node pool.
When unspecified, metrics collection is disabled.
#autoscaling_metrics_collection=
def autoscaling_metrics_collection=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection
-
value (::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection) — Optional. Configuration related to CloudWatch metrics collection on the
Auto Scaling group of the node pool.
When unspecified, metrics collection is disabled.
-
(::Google::Cloud::GkeMultiCloud::V1::AwsAutoscalingGroupMetricsCollection) — Optional. Configuration related to CloudWatch metrics collection on the
Auto Scaling group of the node pool.
When unspecified, metrics collection is disabled.
#config_encryption
def config_encryption() -> ::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption
- (::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption) — Required. Config encryption for user data.
#config_encryption=
def config_encryption=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption
- value (::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption) — Required. Config encryption for user data.
- (::Google::Cloud::GkeMultiCloud::V1::AwsConfigEncryption) — Required. Config encryption for user data.
#iam_instance_profile
def iam_instance_profile() -> ::String
- (::String) — Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.
#iam_instance_profile=
def iam_instance_profile=(value) -> ::String
- value (::String) — Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.
- (::String) — Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.
#image_type
def image_type() -> ::String
-
(::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
.
#image_type=
def image_type=(value) -> ::String
-
value (::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
.
-
(::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
.
#instance_placement
def instance_placement() -> ::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement
- (::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement) — Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.
#instance_placement=
def instance_placement=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement
- value (::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement) — Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.
- (::Google::Cloud::GkeMultiCloud::V1::AwsInstancePlacement) — Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.
#instance_type
def instance_type() -> ::String
-
(::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.
#instance_type=
def instance_type=(value) -> ::String
-
value (::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.
-
(::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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::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" }.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::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" }.
- (::Google::Protobuf::Map{::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" }.
#proxy_config
def proxy_config() -> ::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig
- (::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig) — Optional. Proxy configuration for outbound HTTP(S) traffic.
#proxy_config=
def proxy_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig
- value (::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig) — Optional. Proxy configuration for outbound HTTP(S) traffic.
- (::Google::Cloud::GkeMultiCloud::V1::AwsProxyConfig) — Optional. Proxy configuration for outbound HTTP(S) traffic.
#root_volume
def root_volume() -> ::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate
-
(::Google::Cloud::GkeMultiCloud::V1::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.
#root_volume=
def root_volume=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsVolumeTemplate
-
value (::Google::Cloud::GkeMultiCloud::V1::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.
-
(::Google::Cloud::GkeMultiCloud::V1::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.
#security_group_ids
def security_group_ids() -> ::Array<::String>
- (::Array<::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.
#security_group_ids=
def security_group_ids=(value) -> ::Array<::String>
- value (::Array<::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.
- (::Array<::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.
#spot_config
def spot_config() -> ::Google::Cloud::GkeMultiCloud::V1::SpotConfig
-
(::Google::Cloud::GkeMultiCloud::V1::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
.
#spot_config=
def spot_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::SpotConfig
-
value (::Google::Cloud::GkeMultiCloud::V1::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
.
-
(::Google::Cloud::GkeMultiCloud::V1::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
.
#ssh_config
def ssh_config() -> ::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig
- (::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig) — Optional. The SSH configuration.
#ssh_config=
def ssh_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig
- value (::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig) — Optional. The SSH configuration.
- (::Google::Cloud::GkeMultiCloud::V1::AwsSshConfig) — Optional. The SSH configuration.
#tags
def tags() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#tags=
def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — 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.
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#taints
def taints() -> ::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>
- (::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>) — Optional. The initial taints assigned to nodes of this node pool.
#taints=
def taints=(value) -> ::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>
- value (::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>) — Optional. The initial taints assigned to nodes of this node pool.
- (::Array<::Google::Cloud::GkeMultiCloud::V1::NodeTaint>) — Optional. The initial taints assigned to nodes of this node pool.