Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::UpdateNodePoolRequest (v0.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.51.1 (latest)
- 0.51.0
- 0.50.0
- 0.49.1
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.1
- 0.44.0
- 0.43.0
- 0.42.1
- 0.41.0
- 0.40.1
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.3
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.1
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.3
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.1
- 0.9.0
- 0.8.3
Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::UpdateNodePoolRequest.
SetNodePoolVersionRequest updates the version of a node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerators
defaccelerators()->::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>- (::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>) — 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.
#accelerators=
defaccelerators=(value)->::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>- value (::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>) — 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.
- (::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>) — 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.
#cluster_id
defcluster_id()->::String- (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
#cluster_id=
defcluster_id=(value)->::String- value (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
- (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
#confidential_nodes
defconfidential_nodes()->::Google::Cloud::Container::V1beta1::ConfidentialNodes- (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
#confidential_nodes=
defconfidential_nodes=(value)->::Google::Cloud::Container::V1beta1::ConfidentialNodes- value (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
- (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
#containerd_config
defcontainerd_config()->::Google::Cloud::Container::V1beta1::ContainerdConfig- (::Google::Cloud::Container::V1beta1::ContainerdConfig) — The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.
#containerd_config=
defcontainerd_config=(value)->::Google::Cloud::Container::V1beta1::ContainerdConfig- value (::Google::Cloud::Container::V1beta1::ContainerdConfig) — The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.
- (::Google::Cloud::Container::V1beta1::ContainerdConfig) — The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.
#disk_size_gb
defdisk_size_gb()->::Integer- (::Integer) — Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
#disk_size_gb=
defdisk_size_gb=(value)->::Integer- value (::Integer) — Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
- (::Integer) — Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
#disk_type
defdisk_type()->::String- (::String) — Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
#disk_type=
defdisk_type=(value)->::String- value (::String) — Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
- (::String) — Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
#etag
defetag()->::String- (::String) — 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.
#etag=
defetag=(value)->::String- value (::String) — 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.
- (::String) — 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.
#fast_socket
deffast_socket()->::Google::Cloud::Container::V1beta1::FastSocket- (::Google::Cloud::Container::V1beta1::FastSocket) — Enable or disable NCCL fast socket for the node pool.
#fast_socket=
deffast_socket=(value)->::Google::Cloud::Container::V1beta1::FastSocket- value (::Google::Cloud::Container::V1beta1::FastSocket) — Enable or disable NCCL fast socket for the node pool.
- (::Google::Cloud::Container::V1beta1::FastSocket) — Enable or disable NCCL fast socket for the node pool.
#gcfs_config
defgcfs_config()->::Google::Cloud::Container::V1beta1::GcfsConfig- (::Google::Cloud::Container::V1beta1::GcfsConfig) — GCFS config.
#gcfs_config=
defgcfs_config=(value)->::Google::Cloud::Container::V1beta1::GcfsConfig- value (::Google::Cloud::Container::V1beta1::GcfsConfig) — GCFS config.
- (::Google::Cloud::Container::V1beta1::GcfsConfig) — GCFS config.
#gvnic
defgvnic()->::Google::Cloud::Container::V1beta1::VirtualNIC- (::Google::Cloud::Container::V1beta1::VirtualNIC) — Enable or disable gvnic on the node pool.
#gvnic=
defgvnic=(value)->::Google::Cloud::Container::V1beta1::VirtualNIC- value (::Google::Cloud::Container::V1beta1::VirtualNIC) — Enable or disable gvnic on the node pool.
- (::Google::Cloud::Container::V1beta1::VirtualNIC) — Enable or disable gvnic on the node pool.
#image_type
defimage_type()->::String- (::String) — 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.
#image_type=
defimage_type=(value)->::String- value (::String) — 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.
- (::String) — 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.
#kubelet_config
defkubelet_config()->::Google::Cloud::Container::V1beta1::NodeKubeletConfig- (::Google::Cloud::Container::V1beta1::NodeKubeletConfig) — Node kubelet configs.
#kubelet_config=
defkubelet_config=(value)->::Google::Cloud::Container::V1beta1::NodeKubeletConfig- value (::Google::Cloud::Container::V1beta1::NodeKubeletConfig) — Node kubelet configs.
- (::Google::Cloud::Container::V1beta1::NodeKubeletConfig) — Node kubelet configs.
#labels
deflabels()->::Google::Cloud::Container::V1beta1::NodeLabels- (::Google::Cloud::Container::V1beta1::NodeLabels) — 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.
#labels=
deflabels=(value)->::Google::Cloud::Container::V1beta1::NodeLabels- value (::Google::Cloud::Container::V1beta1::NodeLabels) — 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.
- (::Google::Cloud::Container::V1beta1::NodeLabels) — 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.
#linux_node_config
deflinux_node_config()->::Google::Cloud::Container::V1beta1::LinuxNodeConfig- (::Google::Cloud::Container::V1beta1::LinuxNodeConfig) — Parameters that can be configured on Linux nodes.
#linux_node_config=
deflinux_node_config=(value)->::Google::Cloud::Container::V1beta1::LinuxNodeConfig- value (::Google::Cloud::Container::V1beta1::LinuxNodeConfig) — Parameters that can be configured on Linux nodes.
- (::Google::Cloud::Container::V1beta1::LinuxNodeConfig) — Parameters that can be configured on Linux nodes.
#locations
deflocations()->::Array<::String>- (::Array<::String>) — 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.
#locations=
deflocations=(value)->::Array<::String>- value (::Array<::String>) — 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.
- (::Array<::String>) — 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.
#logging_config
deflogging_config()->::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig- (::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig) — Logging configuration.
#logging_config=
deflogging_config=(value)->::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig- value (::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig) — Logging configuration.
- (::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig) — Logging configuration.
#machine_type
defmachine_type()->::String- (::String) — Optional. The desired 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.
#machine_type=
defmachine_type=(value)->::String- value (::String) — Optional. The desired 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.
- (::String) — Optional. The desired 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.
#name
defname()->::String-
(::String) — The name (project, location, cluster, node pool) of the node pool to
update. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*.
#name=
defname=(value)->::String-
value (::String) — The name (project, location, cluster, node pool) of the node pool to
update. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*.
-
(::String) — The name (project, location, cluster, node pool) of the node pool to
update. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*.
#node_network_config
defnode_network_config()->::Google::Cloud::Container::V1beta1::NodeNetworkConfig- (::Google::Cloud::Container::V1beta1::NodeNetworkConfig) — Node network config.
#node_network_config=
defnode_network_config=(value)->::Google::Cloud::Container::V1beta1::NodeNetworkConfig- value (::Google::Cloud::Container::V1beta1::NodeNetworkConfig) — Node network config.
- (::Google::Cloud::Container::V1beta1::NodeNetworkConfig) — Node network config.
#node_pool_id
defnode_pool_id()->::String- (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
#node_pool_id=
defnode_pool_id=(value)->::String- value (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
- (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
#node_version
defnode_version()->::String-
(::String) —
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
#node_version=
defnode_version=(value)->::String-
value (::String) —
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
-
(::String) —
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
#project_id
defproject_id()->::String- (::String) — Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
#project_id=
defproject_id=(value)->::String- value (::String) — Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
- (::String) — Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
#queued_provisioning
defqueued_provisioning()->::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning- (::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning) — Specifies the configuration of queued provisioning.
#queued_provisioning=
defqueued_provisioning=(value)->::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning- value (::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning) — Specifies the configuration of queued provisioning.
- (::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning) — Specifies the configuration of queued provisioning.
#resource_labels
defresource_labels()->::Google::Cloud::Container::V1beta1::ResourceLabels- (::Google::Cloud::Container::V1beta1::ResourceLabels) — The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
#resource_labels=
defresource_labels=(value)->::Google::Cloud::Container::V1beta1::ResourceLabels- value (::Google::Cloud::Container::V1beta1::ResourceLabels) — The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
- (::Google::Cloud::Container::V1beta1::ResourceLabels) — The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
#resource_manager_tags
defresource_manager_tags()->::Google::Cloud::Container::V1beta1::ResourceManagerTags- (::Google::Cloud::Container::V1beta1::ResourceManagerTags) — 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.
#resource_manager_tags=
defresource_manager_tags=(value)->::Google::Cloud::Container::V1beta1::ResourceManagerTags- value (::Google::Cloud::Container::V1beta1::ResourceManagerTags) — 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.
- (::Google::Cloud::Container::V1beta1::ResourceManagerTags) — 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.
#tags
deftags()->::Google::Cloud::Container::V1beta1::NetworkTags- (::Google::Cloud::Container::V1beta1::NetworkTags) — 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.
#tags=
deftags=(value)->::Google::Cloud::Container::V1beta1::NetworkTags- value (::Google::Cloud::Container::V1beta1::NetworkTags) — 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.
- (::Google::Cloud::Container::V1beta1::NetworkTags) — 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.
#taints
deftaints()->::Google::Cloud::Container::V1beta1::NodeTaints- (::Google::Cloud::Container::V1beta1::NodeTaints) — 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.
#taints=
deftaints=(value)->::Google::Cloud::Container::V1beta1::NodeTaints- value (::Google::Cloud::Container::V1beta1::NodeTaints) — 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.
- (::Google::Cloud::Container::V1beta1::NodeTaints) — 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.
#upgrade_settings
defupgrade_settings()->::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings- (::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings) — Upgrade settings control disruption and speed of the upgrade.
#upgrade_settings=
defupgrade_settings=(value)->::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings- value (::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings) — Upgrade settings control disruption and speed of the upgrade.
- (::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings) — Upgrade settings control disruption and speed of the upgrade.
#windows_node_config
defwindows_node_config()->::Google::Cloud::Container::V1beta1::WindowsNodeConfig- (::Google::Cloud::Container::V1beta1::WindowsNodeConfig) — Parameters that can be configured on Windows nodes.
#windows_node_config=
defwindows_node_config=(value)->::Google::Cloud::Container::V1beta1::WindowsNodeConfig- value (::Google::Cloud::Container::V1beta1::WindowsNodeConfig) — Parameters that can be configured on Windows nodes.
- (::Google::Cloud::Container::V1beta1::WindowsNodeConfig) — Parameters that can be configured on Windows nodes.
#workload_metadata_config
defworkload_metadata_config()->::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig- (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig) — The desired workload metadata config for the node pool.
#workload_metadata_config=
defworkload_metadata_config=(value)->::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig- value (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig) — The desired workload metadata config for the node pool.
- (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig) — The desired workload metadata config for the node pool.
#zone
defzone()->::String- (::String) — Required. 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.
#zone=
defzone=(value)->::String- value (::String) — Required. 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.
- (::String) — Required. 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.