Skip to content

Commit afd8226

Browse files
feat(container): update the API
#### container:v1beta1 The following keys were added: - schemas.NodeKubeletConfig.properties.singleProcessOomKill.description - schemas.NodeKubeletConfig.properties.singleProcessOomKill.type - schemas.NodeNetworkConfig.properties.subnetwork.description - schemas.NodeNetworkConfig.properties.subnetwork.readOnly - schemas.NodeNetworkConfig.properties.subnetwork.type - schemas.SoleTenantConfig.properties.minNodeCpus.description - schemas.SoleTenantConfig.properties.minNodeCpus.format - schemas.SoleTenantConfig.properties.minNodeCpus.type The following keys were changed: - schemas.StatusCondition.properties.code.enum - schemas.StatusCondition.properties.code.enumDescriptions #### container:v1 The following keys were added: - schemas.NodeKubeletConfig.properties.singleProcessOomKill.description - schemas.NodeKubeletConfig.properties.singleProcessOomKill.type - schemas.NodeNetworkConfig.properties.subnetwork.description - schemas.NodeNetworkConfig.properties.subnetwork.readOnly - schemas.NodeNetworkConfig.properties.subnetwork.type - schemas.SoleTenantConfig.properties.minNodeCpus.description - schemas.SoleTenantConfig.properties.minNodeCpus.format - schemas.SoleTenantConfig.properties.minNodeCpus.type The following keys were changed: - schemas.StatusCondition.properties.code.enum - schemas.StatusCondition.properties.code.enumDescriptions
1 parent f0a09e0 commit afd8226

File tree

5 files changed

+63
-7
lines changed

5 files changed

+63
-7
lines changed

‎discovery/container-v1.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@
26602660
}
26612661
}
26622662
},
2663-
"revision": "20250603",
2663+
"revision": "20250617",
26642664
"rootUrl": "https://container.googleapis.com/",
26652665
"schemas": {
26662666
"AcceleratorConfig": {
@@ -6300,6 +6300,10 @@
63006300
"format": "int64",
63016301
"type": "string"
63026302
},
6303+
"singleProcessOomKill": {
6304+
"description": "Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.",
6305+
"type": "boolean"
6306+
},
63036307
"topologyManager": {
63046308
"$ref": "TopologyManager",
63056309
"description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/"
@@ -6387,6 +6391,11 @@
63876391
"podRange": {
63886392
"description": "The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.",
63896393
"type": "string"
6394+
},
6395+
"subnetwork": {
6396+
"description": "Output only. The subnetwork path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork for the node pool is picked based on the IP utilization during node pool creation and is immutable.",
6397+
"readOnly": true,
6398+
"type": "string"
63906399
}
63916400
},
63926401
"type": "object"
@@ -8102,6 +8111,11 @@
81028111
"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.",
81038112
"id": "SoleTenantConfig",
81048113
"properties": {
8114+
"minNodeCpus": {
8115+
"description": "Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.",
8116+
"format": "int32",
8117+
"type": "integer"
8118+
},
81058119
"nodeAffinities": {
81068120
"description": "NodeAffinities used to match to a shared sole tenant node group.",
81078121
"items": {
@@ -8259,7 +8273,8 @@
82598273
"SET_BY_OPERATOR",
82608274
"CLOUD_KMS_KEY_ERROR",
82618275
"CA_EXPIRING",
8262-
"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS"
8276+
"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS",
8277+
"CLOUD_KMS_KEY_DESTROYED"
82638278
],
82648279
"enumDescriptions": [
82658280
"UNKNOWN indicates a generic condition.",
@@ -8269,7 +8284,8 @@
82698284
"Cluster state was manually changed by an SRE due to a system logic error.",
82708285
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.",
82718286
"Cluster CA is expiring soon.",
8272-
"Node service account is missing permissions."
8287+
"Node service account is missing permissions.",
8288+
"Cloud KMS key version used for etcd level encryption has been destroyed. This is a permanent error."
82738289
],
82748290
"type": "string"
82758291
},

‎discovery/container-v1beta1.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,7 @@
26852685
}
26862686
}
26872687
},
2688-
"revision": "20250603",
2688+
"revision": "20250617",
26892689
"rootUrl": "https://container.googleapis.com/",
26902690
"schemas": {
26912691
"AcceleratorConfig": {
@@ -6704,6 +6704,10 @@
67046704
"format": "int64",
67056705
"type": "string"
67066706
},
6707+
"singleProcessOomKill": {
6708+
"description": "Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.",
6709+
"type": "boolean"
6710+
},
67076711
"topologyManager": {
67086712
"$ref": "TopologyManager",
67096713
"description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/"
@@ -6791,6 +6795,11 @@
67916795
"podRange": {
67926796
"description": "The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.",
67936797
"type": "string"
6798+
},
6799+
"subnetwork": {
6800+
"description": "Output only. The subnetwork path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork for the node pool is picked based on the IP utilization during node pool creation and is immutable.",
6801+
"readOnly": true,
6802+
"type": "string"
67946803
}
67956804
},
67966805
"type": "object"
@@ -8615,6 +8624,11 @@
86158624
"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.",
86168625
"id": "SoleTenantConfig",
86178626
"properties": {
8627+
"minNodeCpus": {
8628+
"description": "Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.",
8629+
"format": "int32",
8630+
"type": "integer"
8631+
},
86188632
"nodeAffinities": {
86198633
"description": "NodeAffinities used to match to a shared sole tenant node group.",
86208634
"items": {
@@ -8772,7 +8786,8 @@
87728786
"SET_BY_OPERATOR",
87738787
"CLOUD_KMS_KEY_ERROR",
87748788
"CA_EXPIRING",
8775-
"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS"
8789+
"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS",
8790+
"CLOUD_KMS_KEY_DESTROYED"
87768791
],
87778792
"enumDescriptions": [
87788793
"UNKNOWN indicates a generic condition.",
@@ -8782,7 +8797,8 @@
87828797
"Cluster state was manually changed by an SRE due to a system logic error.",
87838798
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.",
87848799
"Cluster CA is expiring soon.",
8785-
"Node service account is missing permissions."
8800+
"Node service account is missing permissions.",
8801+
"Cloud KMS key version used for etcd level encryption has been destroyed. This is a permanent error."
87868802
],
87878803
"type": "string"
87888804
},

‎src/apis/container/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^8.0.0"
31+
"googleapis-common": "^8.0.2-rc.0"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

‎src/apis/container/v1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,6 +2707,10 @@ export namespace container_v1 {
27072707
* Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
27082708
*/
27092709
podPidsLimit?: string | null;
2710+
/**
2711+
* Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.
2712+
*/
2713+
singleProcessOomKill?: boolean | null;
27102714
/**
27112715
* Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
27122716
*/
@@ -2778,6 +2782,10 @@ export namespace container_v1 {
27782782
* The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
27792783
*/
27802784
podRange?: string | null;
2785+
/**
2786+
* Output only. The subnetwork path for the node pool. Format: projects/{project\}/regions/{region\}/subnetworks/{subnetwork\} If the cluster is associated with multiple subnetworks, the subnetwork for the node pool is picked based on the IP utilization during node pool creation and is immutable.
2787+
*/
2788+
subnetwork?: string | null;
27812789
}
27822790
/**
27832791
* NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
@@ -3940,6 +3948,10 @@ export namespace container_v1 {
39403948
* SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.
39413949
*/
39423950
export interface Schema$SoleTenantConfig {
3951+
/**
3952+
* Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.
3953+
*/
3954+
minNodeCpus?: number | null;
39433955
/**
39443956
* NodeAffinities used to match to a shared sole tenant node group.
39453957
*/

‎src/apis/container/v1beta1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,6 +2953,10 @@ export namespace container_v1beta1 {
29532953
* Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
29542954
*/
29552955
podPidsLimit?: string | null;
2956+
/**
2957+
* Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.
2958+
*/
2959+
singleProcessOomKill?: boolean | null;
29562960
/**
29572961
* Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
29582962
*/
@@ -3024,6 +3028,10 @@ export namespace container_v1beta1 {
30243028
* The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
30253029
*/
30263030
podRange?: string | null;
3031+
/**
3032+
* Output only. The subnetwork path for the node pool. Format: projects/{project\}/regions/{region\}/subnetworks/{subnetwork\} If the cluster is associated with multiple subnetworks, the subnetwork for the node pool is picked based on the IP utilization during node pool creation and is immutable.
3033+
*/
3034+
subnetwork?: string | null;
30273035
}
30283036
/**
30293037
* NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
@@ -4263,6 +4271,10 @@ export namespace container_v1beta1 {
42634271
* SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.
42644272
*/
42654273
export interface Schema$SoleTenantConfig {
4274+
/**
4275+
* Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.
4276+
*/
4277+
minNodeCpus?: number | null;
42664278
/**
42674279
* NodeAffinities used to match to a shared sole tenant node group.
42684280
*/

0 commit comments

Comments
 (0)