Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def update_cluster request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil, taint_config: nil)
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, image: nil, image_project: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil, taint_config: nil)
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand Down Expand Up @@ -735,6 +735,12 @@ def update_cluster request, options = nil
# 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.
# @param image [::String]
# The desired name of the image name to use for this node.
# This is used to create clusters using a custom image.
# @param image_project [::String]
# The project containing the desired image to use for this node pool.
# This is used to create clusters using a custom image.
# @param locations [::Array<::String>]
# The desired list of Google Compute Engine
# [zones](https://cloud.google.com/compute/docs/zones#available)
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class CompleteControlPlaneUpgradeRequest
# net.core.wmem_max
# net.core.optmem_max
# net.core.somaxconn
# net.ipv4.neigh.default.gc_thresh1
# net.ipv4.neigh.default.gc_thresh2
# net.ipv4.neigh.default.gc_thresh3
# net.ipv4.tcp_rmem
# net.ipv4.tcp_wmem
# net.ipv4.tcp_tw_reuse
Expand All @@ -67,6 +70,8 @@ class CompleteControlPlaneUpgradeRequest
# net.netfilter.nf_conntrack_tcp_timeout_time_wait
# net.netfilter.nf_conntrack_tcp_timeout_established
# net.netfilter.nf_conntrack_acct
# kernel.keys.maxkeys
# kernel.keys.maxbytes
# kernel.shmmni
# kernel.shmmax
# kernel.shmall
Expand Down Expand Up @@ -905,6 +910,10 @@ class EvictionMinimumReclaim
# the latest version of it will be used. Please see
# https://cloud.google.com/kubernetes-engine/docs/concepts/node-images
# for available image types.
# @!attribute [rw] node_image_config
# @return [::Google::Cloud::Container::V1beta1::CustomImageConfig]
# The node image configuration to use for this node pool. Note that this is
# only applicable for node pools using image_type=CUSTOM.
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
# The Kubernetes labels (key/value pairs) to apply to each node. The values
Expand Down Expand Up @@ -1405,6 +1414,18 @@ class ShieldedInstanceConfig
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# CustomImageConfig contains the information r
# @!attribute [rw] image
# @return [::String]
# The name of the image to use for this node.
# @!attribute [rw] image_project
# @return [::String]
# The project containing the image to use for this node.
class CustomImageConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# SandboxConfig contains configurations of the sandbox to use for the node.
# @!attribute [rw] sandbox_type
# @deprecated This field is deprecated and may be removed in the next major version update.
Expand Down Expand Up @@ -3859,6 +3880,14 @@ class NodePoolAutoConfig
# @!attribute [rw] desired_gcfs_config
# @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
# The desired GCFS config for the cluster.
# @!attribute [rw] desired_image
# @return [::String]
# The desired name of the image to use for this node.
# This is used to create clusters using a custom image.
# @!attribute [rw] desired_image_project
# @return [::String]
# The project containing the desired image to use for this node.
# This is used to create clusters using a custom image.
# @!attribute [rw] desired_database_encryption
# @return [::Google::Cloud::Container::V1beta1::DatabaseEncryption]
# Configuration of etcd encryption.
Expand Down Expand Up @@ -4609,6 +4638,14 @@ class UpdateClusterRequest
# 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.
# @!attribute [rw] image
# @return [::String]
# The desired name of the image name to use for this node.
# This is used to create clusters using a custom image.
# @!attribute [rw] image_project
# @return [::String]
# The project containing the desired image to use for this node pool.
# This is used to create clusters using a custom image.
# @!attribute [rw] locations
# @return [::Array<::String>]
# The desired list of Google Compute Engine
Expand Down Expand Up @@ -7025,6 +7062,9 @@ module Code
# and this field at the same time.
# To update the default setting, use
# {::Google::Cloud::Container::V1beta1::ClusterUpdate#desired_default_enable_private_nodes ClusterUpdate.desired_default_enable_private_nodes}
# @!attribute [rw] dataplane_v2_config
# @return [::Google::Cloud::Container::V1beta1::DataplaneV2Config]
# Optional. DataplaneV2Config specifies the DPv2 configuration.
# @!attribute [rw] disable_l4_lb_firewall_reconciliation
# @return [::Boolean]
# Disable L4 load balancer VPC firewalls to enable firewall policies.
Expand Down Expand Up @@ -8457,6 +8497,27 @@ module Component
end
end

# DataplaneV2Config is the configuration for DPv2.
# @!attribute [rw] scalability_mode
# @return [::Google::Cloud::Container::V1beta1::DataplaneV2Config::ScalabilityMode]
# Optional. Scalability mode for the cluster.
class DataplaneV2Config
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods

# Options on how to scale the cluster.
module ScalabilityMode
# Default value.
SCALABILITY_MODE_UNSPECIFIED = 0

# Disables the scale optimized mode for DPv2.
DISABLED = 3

# Enables the scale optimized mode for DPv2.
SCALE_OPTIMIZED = 4
end
end

# PodAutoscaling is used for configuration of parameters
# for workload autoscaling.
# @!attribute [rw] hpa_profile
Expand Down
Loading
Loading