Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AwsNodePool.
An Anthos node pool running on AWS.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Annotations on the node pool.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — Optional. Annotations on the node pool.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Annotations on the node pool.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
#autoscaling
def autoscaling() -> ::Google::Cloud::GkeMultiCloud::V1::AwsNodePoolAutoscaling
- (::Google::Cloud::GkeMultiCloud::V1::AwsNodePoolAutoscaling) — Required. Autoscaler configuration for this node pool.
#autoscaling=
def autoscaling=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsNodePoolAutoscaling
- value (::Google::Cloud::GkeMultiCloud::V1::AwsNodePoolAutoscaling) — Required. Autoscaler configuration for this node pool.
- (::Google::Cloud::GkeMultiCloud::V1::AwsNodePoolAutoscaling) — Required. Autoscaler configuration for this node pool.
#config
def config() -> ::Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig
- (::Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig) — Required. The configuration of the node pool.
#config=
def config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig
- value (::Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig) — Required. The configuration of the node pool.
- (::Google::Cloud::GkeMultiCloud::V1::AwsNodeConfig) — Required. The configuration of the node pool.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which this node pool was created.
#etag
def etag() -> ::String
-
(::String) — Allows clients to perform consistent read-modify-writes
through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#etag=
def etag=(value) -> ::String
-
value (::String) — Allows clients to perform consistent read-modify-writes
through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
-
(::String) — Allows clients to perform consistent read-modify-writes
through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#max_pods_constraint
def max_pods_constraint() -> ::Google::Cloud::GkeMultiCloud::V1::MaxPodsConstraint
- (::Google::Cloud::GkeMultiCloud::V1::MaxPodsConstraint) — Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
#max_pods_constraint=
def max_pods_constraint=(value) -> ::Google::Cloud::GkeMultiCloud::V1::MaxPodsConstraint
- value (::Google::Cloud::GkeMultiCloud::V1::MaxPodsConstraint) — Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
- (::Google::Cloud::GkeMultiCloud::V1::MaxPodsConstraint) — Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
#name
def name() -> ::String
-
(::String) — The name of this resource.
Node pool names are formatted as
projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.For more details on Google Cloud resource names, see Resource Names
#name=
def name=(value) -> ::String
-
value (::String) — The name of this resource.
Node pool names are formatted as
projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.For more details on Google Cloud resource names, see Resource Names
-
(::String) — The name of this resource.
Node pool names are formatted as
projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>
.For more details on Google Cloud resource names, see Resource Names
#reconciling
def reconciling() -> ::Boolean
- (::Boolean) — Output only. If set, there are currently changes in flight to the node pool.
#state
def state() -> ::Google::Cloud::GkeMultiCloud::V1::AwsNodePool::State
- (::Google::Cloud::GkeMultiCloud::V1::AwsNodePool::State) — Output only. The lifecycle state of the node pool.
#subnet_id
def subnet_id() -> ::String
- (::String) — Required. The subnet where the node pool node run.
#subnet_id=
def subnet_id=(value) -> ::String
- value (::String) — Required. The subnet where the node pool node run.
- (::String) — Required. The subnet where the node pool node run.
#uid
def uid() -> ::String
- (::String) — Output only. A globally unique identifier for the node pool.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which this node pool was last updated.
#version
def version() -> ::String
-
(::String) — Required. The Kubernetes version to run on this node pool (e.g.
1.19.10-gke.1000
).You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.
#version=
def version=(value) -> ::String
-
value (::String) — Required. The Kubernetes version to run on this node pool (e.g.
1.19.10-gke.1000
).You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.
-
(::String) — Required. The Kubernetes version to run on this node pool (e.g.
1.19.10-gke.1000
).You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.