Class AwsNodeConfig (0.6.8)

AwsNodeConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Parameters that describe the nodes in a cluster.

Attributes

NameDescription
instance_type str
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 google.cloud.gke_multicloud_v1.types.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 MutableSequence[google.cloud.gke_multicloud_v1.types.NodeTaint]
Optional. The initial taints assigned to nodes of this node pool.
labels MutableMapping[str, str]
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" }.
tags MutableMapping[str, str]
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 str
Required. The name or ARN of the AWS IAM role assigned to nodes in the pool.
image_type str
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 google.cloud.gke_multicloud_v1.types.AwsSshConfig
Optional. The SSH configuration.
security_group_ids MutableSequence[str]
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 google.cloud.gke_multicloud_v1.types.AwsProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
config_encryption google.cloud.gke_multicloud_v1.types.AwsConfigEncryption
Required. Config encryption for user data.
instance_placement google.cloud.gke_multicloud_v1.types.AwsInstancePlacement
Optional. Placement related info for this node. When unspecified, the VPC's default tenancy will be used.
autoscaling_metrics_collection google.cloud.gke_multicloud_v1.types.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 google.cloud.gke_multicloud_v1.types.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.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

TagsEntry

TagsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.