Class: Google::Cloud::Container::V1::UpdateNodePoolRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::UpdateNodePoolRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1/cluster_service.rb
Overview
UpdateNodePoolRequests update a node pool's image and/or version.
Instance Attribute Summary collapse
-
#accelerators ⇒ ::Array<::Google::Cloud::Container::V1::AcceleratorConfig>
A list of hardware accelerators to be attached to each node.
-
#cluster_id ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#confidential_nodes ⇒ ::Google::Cloud::Container::V1::ConfidentialNodes
Confidential nodes config.
-
#containerd_config ⇒ ::Google::Cloud::Container::V1::ContainerdConfig
The desired containerd config for nodes in the node pool.
-
#disk_size_gb ⇒ ::Integer
Optional.
-
#disk_type ⇒ ::String
Optional.
-
#etag ⇒ ::String
The current etag of the node pool.
-
#fast_socket ⇒ ::Google::Cloud::Container::V1::FastSocket
Enable or disable NCCL fast socket for the node pool.
-
#gcfs_config ⇒ ::Google::Cloud::Container::V1::GcfsConfig
GCFS config.
-
#gvnic ⇒ ::Google::Cloud::Container::V1::VirtualNIC
Enable or disable gvnic on the node pool.
-
#image_type ⇒ ::String
Required.
-
#kubelet_config ⇒ ::Google::Cloud::Container::V1::NodeKubeletConfig
Node kubelet configs.
-
#labels ⇒ ::Google::Cloud::Container::V1::NodeLabels
The desired node labels to be applied to all nodes in the node pool.
-
#linux_node_config ⇒ ::Google::Cloud::Container::V1::LinuxNodeConfig
Parameters that can be configured on Linux nodes.
-
#locations ⇒ ::Array<::String>
The desired list of Google Compute Engine zones in which the node pool's nodes should be located.
-
#logging_config ⇒ ::Google::Cloud::Container::V1::NodePoolLoggingConfig
Logging configuration.
-
#machine_type ⇒ ::String
Optional.
-
#name ⇒ ::String
The name (project, location, cluster, node pool) of the node pool to update.
-
#node_network_config ⇒ ::Google::Cloud::Container::V1::NodeNetworkConfig
Node network config.
-
#node_pool_id ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#node_version ⇒ ::String
Required.
-
#project_id ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#queued_provisioning ⇒ ::Google::Cloud::Container::V1::NodePool::QueuedProvisioning
Specifies the configuration of queued provisioning.
-
#resource_labels ⇒ ::Google::Cloud::Container::V1::ResourceLabels
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
-
#resource_manager_tags ⇒ ::Google::Cloud::Container::V1::ResourceManagerTags
Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.
-
#storage_pools ⇒ ::Array<::String>
List of Storage Pools where boot disks are provisioned.
-
#tags ⇒ ::Google::Cloud::Container::V1::NetworkTags
The desired network tags to be applied to all nodes in the node pool.
-
#taints ⇒ ::Google::Cloud::Container::V1::NodeTaints
The desired node taints to be applied to all nodes in the node pool.
-
#upgrade_settings ⇒ ::Google::Cloud::Container::V1::NodePool::UpgradeSettings
Upgrade settings control disruption and speed of the upgrade.
-
#windows_node_config ⇒ ::Google::Cloud::Container::V1::WindowsNodeConfig
Parameters that can be configured on Windows nodes.
-
#workload_metadata_config ⇒ ::Google::Cloud::Container::V1::WorkloadMetadataConfig
The desired workload metadata config for the node pool.
-
#zone ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
Instance Attribute Details
#accelerators ⇒ ::Array<::Google::Cloud::Container::V1::AcceleratorConfig>
Returns A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cluster_id ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#confidential_nodes ⇒ ::Google::Cloud::Container::V1::ConfidentialNodes
Returns Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#containerd_config ⇒ ::Google::Cloud::Container::V1::ContainerdConfig
Returns The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#disk_size_gb ⇒ ::Integer
Returns Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#disk_type ⇒ ::String
Returns Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#etag ⇒ ::String
Returns The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#fast_socket ⇒ ::Google::Cloud::Container::V1::FastSocket
Returns Enable or disable NCCL fast socket for the node pool.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gcfs_config ⇒ ::Google::Cloud::Container::V1::GcfsConfig
Returns GCFS config.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gvnic ⇒ ::Google::Cloud::Container::V1::VirtualNIC
Returns Enable or disable gvnic on the node pool.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#image_type ⇒ ::String
Returns Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#kubelet_config ⇒ ::Google::Cloud::Container::V1::NodeKubeletConfig
Returns Node kubelet configs.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#labels ⇒ ::Google::Cloud::Container::V1::NodeLabels
Returns The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#linux_node_config ⇒ ::Google::Cloud::Container::V1::LinuxNodeConfig
Returns Parameters that can be configured on Linux nodes.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#locations ⇒ ::Array<::String>
Returns The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#logging_config ⇒ ::Google::Cloud::Container::V1::NodePoolLoggingConfig
Returns Logging configuration.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#machine_type ⇒ ::String
Returns Optional. The desired Google Compute Engine machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name (project, location, cluster, node pool) of the node pool to
update. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*
.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#node_network_config ⇒ ::Google::Cloud::Container::V1::NodeNetworkConfig
Returns Node network config.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#node_pool_id ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#node_version ⇒ ::String
Returns Required. 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.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#queued_provisioning ⇒ ::Google::Cloud::Container::V1::NodePool::QueuedProvisioning
Returns Specifies the configuration of queued provisioning.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_labels ⇒ ::Google::Cloud::Container::V1::ResourceLabels
Returns The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_manager_tags ⇒ ::Google::Cloud::Container::V1::ResourceManagerTags
Returns Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#storage_pools ⇒ ::Array<::String>
Returns List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tags ⇒ ::Google::Cloud::Container::V1::NetworkTags
Returns The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#taints ⇒ ::Google::Cloud::Container::V1::NodeTaints
Returns The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#upgrade_settings ⇒ ::Google::Cloud::Container::V1::NodePool::UpgradeSettings
Returns Upgrade settings control disruption and speed of the upgrade.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#windows_node_config ⇒ ::Google::Cloud::Container::V1::WindowsNodeConfig
Returns Parameters that can be configured on Windows nodes.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#workload_metadata_config ⇒ ::Google::Cloud::Container::V1::WorkloadMetadataConfig
Returns The desired workload metadata config for the node pool.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#zone ⇒ ::String
This field is deprecated and may be removed in the next major version update.
Returns Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
2967 2968 2969 2970 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2967 class UpdateNodePoolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |