Skip to content

Commit 3367f02

Browse files
chore: [container] update generator version to newest release v4.12.0 (#8377)
* feat: add custom node image configuration feat: add GKE agent sandbox configuration feat: Add Dataplane V2 scalability mode docs: various documentation improvements PiperOrigin-RevId: 923701859 Source-Link: googleapis/googleapis@0054cdc Source-Link: googleapis/googleapis-gen@3711fd0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiMzcxMWZkMGEwZGIxNWFmNjc3OTQ5YzMxYmI3MzFlZDQxMTFhYmJmMSJ9 fix!: remove image_family from container.v1beta1.CustomImageConfig PiperOrigin-RevId: 922971322 Source-Link: googleapis/googleapis@8ac3af6 Source-Link: googleapis/googleapis-gen@8cf3c6d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiOGNmM2M2ZDM1MDczNjFlNjEzYTZjOTNiOTZhMzcwNTQwZGI3YjdjNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: update generator version to newest release v4.12.0 PiperOrigin-RevId: 928929299 Source-Link: googleapis/googleapis@05c4b6d Source-Link: googleapis/googleapis-gen@0cbc8bf Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiMGNiYzhiZjJkNWVhMDI3ZDlhZDNhMjE5NzY4NmQ2ODZjYTMxZTkzMiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent ab8dc65 commit 3367f02

11 files changed

Lines changed: 19030 additions & 5752 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
// ** This file is automatically generated by gapic-generator-typescript. **
16+
// ** https://github.com/googleapis/gapic-generator-typescript **
17+
// ** All changes to this file may be overwritten. **
18+
19+
const config = {
20+
"enable-source-maps": true,
21+
"throw-deprecation": true,
22+
"timeout": 10000
23+
}
24+
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
25+
delete config['throw-deprecation'];
26+
}
27+
if (process.env.MOCHA_REPORTER) {
28+
config.reporter = process.env.MOCHA_REPORTER;
29+
}
30+
if (process.env.MOCHA_REPORTER_OUTPUT) {
31+
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
32+
}
33+
module.exports = config

packages/google-container/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
105105
| update cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1/cluster_manager.update_cluster.js) |
106106
| update master | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1/cluster_manager.update_master.js) |
107107
| update node pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1/cluster_manager.update_node_pool.js) |
108-
| container | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1/snippet_metadata_google.container.v1.json) |
109108
| cancel operation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/cluster_manager.cancel_operation.js) |
110109
| check autopilot compatibility | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/cluster_manager.check_autopilot_compatibility.js) |
111110
| complete control plane upgrade | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/cluster_manager.complete_control_plane_upgrade.js) |
@@ -144,7 +143,6 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
144143
| update cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/cluster_manager.update_cluster.js) |
145144
| update master | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/cluster_manager.update_master.js) |
146145
| update node pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/cluster_manager.update_node_pool.js) |
147-
| container | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/generated/v1beta1/snippet_metadata_google.container.v1beta1.json) |
148146

149147

150148
## Supported Node.js Versions

packages/google-container/protos/google/container/v1/cluster_service.proto

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,9 @@ message LinuxNodeConfig {
783783
// net.core.wmem_max
784784
// net.core.optmem_max
785785
// net.core.somaxconn
786+
// net.ipv4.neigh.default.gc_thresh1
787+
// net.ipv4.neigh.default.gc_thresh2
788+
// net.ipv4.neigh.default.gc_thresh3
786789
// net.ipv4.tcp_rmem
787790
// net.ipv4.tcp_wmem
788791
// net.ipv4.tcp_tw_reuse
@@ -798,6 +801,8 @@ message LinuxNodeConfig {
798801
// net.netfilter.nf_conntrack_tcp_timeout_time_wait
799802
// net.netfilter.nf_conntrack_tcp_timeout_established
800803
// net.netfilter.nf_conntrack_acct
804+
// kernel.keys.maxkeys
805+
// kernel.keys.maxbytes
801806
// kernel.shmmni
802807
// kernel.shmmax
803808
// kernel.shmall
@@ -1413,6 +1418,10 @@ message NodeConfig {
14131418
// for available image types.
14141419
string image_type = 5;
14151420

1421+
// The node image configuration to use for this node pool. Note that this is
1422+
// only applicable for node pools using image_type=CUSTOM.
1423+
CustomImageConfig node_image_config = 90;
1424+
14161425
// The Kubernetes labels (key/value pairs) to apply to each node. The values
14171426
// in this field are added to the set of default labels Kubernetes applies to
14181427
// nodes.
@@ -1827,6 +1836,15 @@ message ShieldedInstanceConfig {
18271836
bool enable_integrity_monitoring = 2;
18281837
}
18291838

1839+
// CustomImageConfig contains the information r
1840+
message CustomImageConfig {
1841+
// The name of the image to use for this node.
1842+
string image = 1;
1843+
1844+
// The project containing the image to use for this node.
1845+
string image_project = 3;
1846+
}
1847+
18301848
// SandboxConfig contains configurations of the sandbox to use for the node.
18311849
message SandboxConfig {
18321850
// Possible types of sandboxes.
@@ -2282,6 +2300,10 @@ message AddonsConfig {
22822300
SliceControllerConfig slice_controller_config = 26
22832301
[(google.api.field_behavior) = OPTIONAL];
22842302

2303+
// Optional. Configuration for the AgentSandbox addon.
2304+
AgentSandboxConfig agent_sandbox_config = 28
2305+
[(google.api.field_behavior) = OPTIONAL];
2306+
22852307
// Optional. Configuration for NodeReadinessController add-on.
22862308
NodeReadinessConfig node_readiness_config = 29
22872309
[(google.api.field_behavior) = OPTIONAL];
@@ -2496,6 +2518,12 @@ message SlurmOperatorConfig {
24962518
bool enabled = 1;
24972519
}
24982520

2521+
// Configuration for the AgentSandbox addon.
2522+
message AgentSandboxConfig {
2523+
// Optional. Whether AgentSandbox is enabled for this cluster.
2524+
bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
2525+
}
2526+
24992527
// Configuration for the GKE Node Readiness Controller.
25002528
message NodeReadinessConfig {
25012529
// Optional. Whether the GKE Node Readiness Controller is enabled for this
@@ -3568,6 +3596,16 @@ message ClusterUpdate {
35683596
// NOTE: Set the "desired_node_pool" field as well.
35693597
string desired_image_type = 8;
35703598

3599+
// The desired name of the image to use for this node.
3600+
// This is used to create clusters using a custom image.
3601+
// NOTE: Set the "desired_node_pool" field as well.
3602+
string desired_image = 44;
3603+
3604+
// The project containing the desired image to use for this node.
3605+
// This is used to create clusters using a custom image.
3606+
// NOTE: Set the "desired_node_pool" field as well.
3607+
string desired_image_project = 45;
3608+
35713609
// Configuration of etcd encryption.
35723610
DatabaseEncryption desired_database_encryption = 46;
35733611

@@ -4334,6 +4372,14 @@ message UpdateNodePoolRequest {
43344372
// `projects/*/locations/*/clusters/*/nodePools/*`.
43354373
string name = 8;
43364374

4375+
// The desired name of the image name to use for this node.
4376+
// This is used to create clusters using a custom image.
4377+
string image = 10;
4378+
4379+
// The project containing the desired image to use for this node pool.
4380+
// This is used to create clusters using a custom image.
4381+
string image_project = 11;
4382+
43374383
// The desired list of Google Compute Engine
43384384
// [zones](https://cloud.google.com/compute/docs/zones#available)
43394385
// in which the node pool's nodes should be located. Changing the locations
@@ -6288,6 +6334,10 @@ message NetworkConfig {
62886334
// [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
62896335
optional bool default_enable_private_nodes = 22;
62906336

6337+
// Optional. DataplaneV2Config specifies the DPv2 configuration.
6338+
optional DataplaneV2Config dataplane_v2_config = 23
6339+
[(google.api.field_behavior) = OPTIONAL];
6340+
62916341
// Disable L4 load balancer VPC firewalls to enable firewall policies.
62926342
optional bool disable_l4_lb_firewall_reconciliation = 24;
62936343
}
@@ -7438,6 +7488,25 @@ enum DatapathProvider {
74387488
ADVANCED_DATAPATH = 2;
74397489
}
74407490

7491+
// DataplaneV2Config is the configuration for DPv2.
7492+
message DataplaneV2Config {
7493+
// Options on how to scale the cluster.
7494+
enum ScalabilityMode {
7495+
// Default value.
7496+
SCALABILITY_MODE_UNSPECIFIED = 0;
7497+
7498+
// Disables the scale optimized mode for DPv2.
7499+
DISABLED = 3;
7500+
7501+
// Enables the scale optimized mode for DPv2.
7502+
SCALE_OPTIMIZED = 4;
7503+
}
7504+
7505+
// Optional. Scalability mode for the cluster.
7506+
optional ScalabilityMode scalability_mode = 1
7507+
[(google.api.field_behavior) = OPTIONAL];
7508+
}
7509+
74417510
// Strategy used for node pool update.
74427511
enum NodePoolUpdateStrategy {
74437512
// Default value if unset. GKE internally defaults the update strategy to

packages/google-container/protos/google/container/v1beta1/cluster_service.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,9 +1865,6 @@ message CustomImageConfig {
18651865
// The name of the image to use for this node.
18661866
string image = 1;
18671867

1868-
// The name of the image family to use for this node.
1869-
string image_family = 2;
1870-
18711868
// The project containing the image to use for this node.
18721869
string image_project = 3;
18731870
}

0 commit comments

Comments
 (0)