Skip to content

Commit eaa3dba

Browse files
yoshi-automationfeywind
authored andcommitted
feat(container): update the API
#### container:v1beta1 The following keys were added: - schemas.AddonsConfig.properties.sliceControllerConfig.$ref - schemas.AddonsConfig.properties.sliceControllerConfig.description - schemas.GPUDirectConfig.description - schemas.GPUDirectConfig.id - schemas.GPUDirectConfig.properties.gpuDirectStrategy.description - schemas.GPUDirectConfig.properties.gpuDirectStrategy.enum - schemas.GPUDirectConfig.properties.gpuDirectStrategy.enumDescriptions - schemas.GPUDirectConfig.properties.gpuDirectStrategy.type - schemas.GPUDirectConfig.type - schemas.NodeConfig.properties.gpuDirectConfig.$ref - schemas.NodeConfig.properties.gpuDirectConfig.description - schemas.SliceControllerConfig.description - schemas.SliceControllerConfig.id - schemas.SliceControllerConfig.properties.enabled.description - schemas.SliceControllerConfig.properties.enabled.type - schemas.SliceControllerConfig.type The following keys were changed: - schemas.UpgradeSettings.properties.strategy.enum - schemas.UpgradeSettings.properties.strategy.enumDescriptions #### container:v1 The following keys were added: - schemas.AddonsConfig.properties.sliceControllerConfig.$ref - schemas.AddonsConfig.properties.sliceControllerConfig.description - schemas.BootDiskProfile.description - schemas.BootDiskProfile.id - schemas.BootDiskProfile.properties.swapSizeGib.description - schemas.BootDiskProfile.properties.swapSizeGib.format - schemas.BootDiskProfile.properties.swapSizeGib.type - schemas.BootDiskProfile.properties.swapSizePercent.description - schemas.BootDiskProfile.properties.swapSizePercent.format - schemas.BootDiskProfile.properties.swapSizePercent.type - schemas.BootDiskProfile.type - schemas.DedicatedLocalSsdProfile.description - schemas.DedicatedLocalSsdProfile.id - schemas.DedicatedLocalSsdProfile.properties.diskCount.description - schemas.DedicatedLocalSsdProfile.properties.diskCount.format - schemas.DedicatedLocalSsdProfile.properties.diskCount.type - schemas.DedicatedLocalSsdProfile.type - schemas.EncryptionConfig.description - schemas.EncryptionConfig.id - schemas.EncryptionConfig.properties.disabled.description - schemas.EncryptionConfig.properties.disabled.type - schemas.EncryptionConfig.type - schemas.EphemeralLocalSsdProfile.description - schemas.EphemeralLocalSsdProfile.id - schemas.EphemeralLocalSsdProfile.properties.swapSizeGib.description - schemas.EphemeralLocalSsdProfile.properties.swapSizeGib.format - schemas.EphemeralLocalSsdProfile.properties.swapSizeGib.type - schemas.EphemeralLocalSsdProfile.properties.swapSizePercent.description - schemas.EphemeralLocalSsdProfile.properties.swapSizePercent.format - schemas.EphemeralLocalSsdProfile.properties.swapSizePercent.type - schemas.EphemeralLocalSsdProfile.type - schemas.GPUDirectConfig.description - schemas.GPUDirectConfig.id - schemas.GPUDirectConfig.properties.gpuDirectStrategy.description - schemas.GPUDirectConfig.properties.gpuDirectStrategy.enum - schemas.GPUDirectConfig.properties.gpuDirectStrategy.enumDescriptions - schemas.GPUDirectConfig.properties.gpuDirectStrategy.type - schemas.GPUDirectConfig.type - schemas.LinuxNodeConfig.properties.swapConfig.$ref - schemas.LinuxNodeConfig.properties.swapConfig.description - schemas.NodeConfig.properties.gpuDirectConfig.$ref - schemas.NodeConfig.properties.gpuDirectConfig.description - schemas.SliceControllerConfig.description - schemas.SliceControllerConfig.id - schemas.SliceControllerConfig.properties.enabled.description - schemas.SliceControllerConfig.properties.enabled.type - schemas.SliceControllerConfig.type - schemas.SwapConfig.description - schemas.SwapConfig.id - schemas.SwapConfig.properties.bootDiskProfile.$ref - schemas.SwapConfig.properties.bootDiskProfile.description - schemas.SwapConfig.properties.dedicatedLocalSsdProfile.$ref - schemas.SwapConfig.properties.dedicatedLocalSsdProfile.description - schemas.SwapConfig.properties.enabled.description - schemas.SwapConfig.properties.enabled.type - schemas.SwapConfig.properties.encryptionConfig.$ref - schemas.SwapConfig.properties.encryptionConfig.description - schemas.SwapConfig.properties.ephemeralLocalSsdProfile.$ref - schemas.SwapConfig.properties.ephemeralLocalSsdProfile.description - schemas.SwapConfig.type The following keys were changed: - schemas.UpgradeSettings.properties.strategy.enum - schemas.UpgradeSettings.properties.strategy.enumDescriptions
1 parent a7330dd commit eaa3dba

4 files changed

Lines changed: 299 additions & 6 deletions

File tree

‎discovery/container-v1.json‎

Lines changed: 131 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@
26602660
}
26612661
}
26622662
},
2663-
"revision": "20260113",
2663+
"revision": "20260120",
26642664
"rootUrl": "https://container.googleapis.com/",
26652665
"schemas": {
26662666
"AcceleratorConfig": {
@@ -2848,6 +2848,10 @@
28482848
"$ref": "RayOperatorConfig",
28492849
"description": "Optional. Configuration for Ray Operator addon."
28502850
},
2851+
"sliceControllerConfig": {
2852+
"$ref": "SliceControllerConfig",
2853+
"description": "Optional. Configuration for the slice controller add-on."
2854+
},
28512855
"statefulHaConfig": {
28522856
"$ref": "StatefulHAConfig",
28532857
"description": "Optional. Configuration for the StatefulHA add-on."
@@ -3300,6 +3304,23 @@
33003304
},
33013305
"type": "object"
33023306
},
3307+
"BootDiskProfile": {
3308+
"description": "Swap on the node's boot disk.",
3309+
"id": "BootDiskProfile",
3310+
"properties": {
3311+
"swapSizeGib": {
3312+
"description": "Specifies the size of the swap space in gibibytes (GiB).",
3313+
"format": "int64",
3314+
"type": "string"
3315+
},
3316+
"swapSizePercent": {
3317+
"description": "Specifies the size of the swap space as a percentage of the boot disk size.",
3318+
"format": "int32",
3319+
"type": "integer"
3320+
}
3321+
},
3322+
"type": "object"
3323+
},
33033324
"CancelOperationRequest": {
33043325
"description": "CancelOperationRequest cancels a single operation.",
33053326
"id": "CancelOperationRequest",
@@ -4715,6 +4736,18 @@
47154736
},
47164737
"type": "object"
47174738
},
4739+
"DedicatedLocalSsdProfile": {
4740+
"description": "Provisions a new, separate local NVMe SSD exclusively for swap.",
4741+
"id": "DedicatedLocalSsdProfile",
4742+
"properties": {
4743+
"diskCount": {
4744+
"description": "The number of physical local NVMe SSD disks to attach.",
4745+
"format": "int64",
4746+
"type": "string"
4747+
}
4748+
},
4749+
"type": "object"
4750+
},
47184751
"DefaultComputeClassConfig": {
47194752
"description": "DefaultComputeClassConfig defines default compute class configuration.",
47204753
"id": "DefaultComputeClassConfig",
@@ -4827,6 +4860,17 @@
48274860
"properties": {},
48284861
"type": "object"
48294862
},
4863+
"EncryptionConfig": {
4864+
"description": "Defines encryption settings for the swap space.",
4865+
"id": "EncryptionConfig",
4866+
"properties": {
4867+
"disabled": {
4868+
"description": "Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).",
4869+
"type": "boolean"
4870+
}
4871+
},
4872+
"type": "object"
4873+
},
48304874
"EnterpriseConfig": {
48314875
"deprecated": true,
48324876
"description": "EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.",
@@ -4864,6 +4908,23 @@
48644908
},
48654909
"type": "object"
48664910
},
4911+
"EphemeralLocalSsdProfile": {
4912+
"description": "Swap on the local SSD shared with pod ephemeral storage.",
4913+
"id": "EphemeralLocalSsdProfile",
4914+
"properties": {
4915+
"swapSizeGib": {
4916+
"description": "Specifies the size of the swap space in gibibytes (GiB).",
4917+
"format": "int64",
4918+
"type": "string"
4919+
},
4920+
"swapSizePercent": {
4921+
"description": "Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.",
4922+
"format": "int32",
4923+
"type": "integer"
4924+
}
4925+
},
4926+
"type": "object"
4927+
},
48674928
"EphemeralStorageLocalSsdConfig": {
48684929
"description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.",
48694930
"id": "EphemeralStorageLocalSsdConfig",
@@ -5057,6 +5118,25 @@
50575118
},
50585119
"type": "object"
50595120
},
5121+
"GPUDirectConfig": {
5122+
"description": "GPUDirectConfig specifies the GPU direct strategy on the node pool.",
5123+
"id": "GPUDirectConfig",
5124+
"properties": {
5125+
"gpuDirectStrategy": {
5126+
"description": "The type of GPU direct strategy to enable on the node pool.",
5127+
"enum": [
5128+
"GPU_DIRECT_STRATEGY_UNSPECIFIED",
5129+
"RDMA"
5130+
],
5131+
"enumDescriptions": [
5132+
"Default value. No GPU Direct strategy is enabled on the node.",
5133+
"GPUDirect-RDMA on A3 Ultra, and A4 machine types"
5134+
],
5135+
"type": "string"
5136+
}
5137+
},
5138+
"type": "object"
5139+
},
50605140
"GPUDriverInstallationConfig": {
50615141
"description": "GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.",
50625142
"id": "GPUDriverInstallationConfig",
@@ -5718,6 +5798,10 @@
57185798
"$ref": "NodeKernelModuleLoading",
57195799
"description": "Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be provisioned with a Container-Optimized OS image that enforces kernel module signature verification."
57205800
},
5801+
"swapConfig": {
5802+
"$ref": "SwapConfig",
5803+
"description": "Optional. Enables and configures swap space on nodes. If omitted, swap is disabled."
5804+
},
57215805
"sysctls": {
57225806
"additionalProperties": {
57235807
"type": "string"
@@ -6539,6 +6623,10 @@
65396623
"$ref": "GcfsConfig",
65406624
"description": "Google Container File System (image streaming) configs."
65416625
},
6626+
"gpuDirectConfig": {
6627+
"$ref": "GPUDirectConfig",
6628+
"description": "The configuration for GPU Direct"
6629+
},
65426630
"gvnic": {
65436631
"$ref": "VirtualNIC",
65446632
"description": "Enable or disable gvnic in the node pool."
@@ -8742,6 +8830,17 @@
87428830
},
87438831
"type": "object"
87448832
},
8833+
"SliceControllerConfig": {
8834+
"description": "Configuration for the Slice Controller.",
8835+
"id": "SliceControllerConfig",
8836+
"properties": {
8837+
"enabled": {
8838+
"description": "Optional. Indicates whether Slice Controller is enabled in the cluster.",
8839+
"type": "boolean"
8840+
}
8841+
},
8842+
"type": "object"
8843+
},
87458844
"SoleTenantConfig": {
87468845
"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.",
87478846
"id": "SoleTenantConfig",
@@ -8931,6 +9030,33 @@
89319030
},
89329031
"type": "object"
89339032
},
9033+
"SwapConfig": {
9034+
"description": "Configuration for swap memory on a node pool.",
9035+
"id": "SwapConfig",
9036+
"properties": {
9037+
"bootDiskProfile": {
9038+
"$ref": "BootDiskProfile",
9039+
"description": "Swap on the node's boot disk."
9040+
},
9041+
"dedicatedLocalSsdProfile": {
9042+
"$ref": "DedicatedLocalSsdProfile",
9043+
"description": "Provisions a new, separate local NVMe SSD exclusively for swap."
9044+
},
9045+
"enabled": {
9046+
"description": "Optional. Enables or disables swap for the node pool.",
9047+
"type": "boolean"
9048+
},
9049+
"encryptionConfig": {
9050+
"$ref": "EncryptionConfig",
9051+
"description": "Optional. If omitted, swap space is encrypted by default."
9052+
},
9053+
"ephemeralLocalSsdProfile": {
9054+
"$ref": "EphemeralLocalSsdProfile",
9055+
"description": "Swap on the local SSD shared with pod ephemeral storage."
9056+
}
9057+
},
9058+
"type": "object"
9059+
},
89349060
"TimeWindow": {
89359061
"description": "Represents an arbitrary window of time.",
89369062
"id": "TimeWindow",
@@ -9467,12 +9593,14 @@
94679593
"enum": [
94689594
"NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED",
94699595
"BLUE_GREEN",
9470-
"SURGE"
9596+
"SURGE",
9597+
"SHORT_LIVED"
94719598
],
94729599
"enumDescriptions": [
94739600
"Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.",
94749601
"blue-green upgrade.",
9475-
"SURGE is the traditional way of upgrade a node pool. max_surge and max_unavailable determines the level of upgrade parallelism."
9602+
"SURGE is the traditional way of upgrade a node pool. max_surge and max_unavailable determines the level of upgrade parallelism.",
9603+
"SHORT_LIVED is the dedicated upgrade strategy for QueuedProvisioning and flex start nodepools scaled up only by enqueueing to the Dynamic Workload Scheduler (DWS)."
94769604
],
94779605
"type": "string"
94789606
}

‎discovery/container-v1beta1.json‎

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,7 +2741,7 @@
27412741
}
27422742
}
27432743
},
2744-
"revision": "20260113",
2744+
"revision": "20260120",
27452745
"rootUrl": "https://container.googleapis.com/",
27462746
"schemas": {
27472747
"AcceleratorConfig": {
@@ -2949,6 +2949,10 @@
29492949
"$ref": "RayOperatorConfig",
29502950
"description": "Optional. Configuration for Ray Operator addon."
29512951
},
2952+
"sliceControllerConfig": {
2953+
"$ref": "SliceControllerConfig",
2954+
"description": "Optional. Configuration for the slice controller add-on."
2955+
},
29522956
"statefulHaConfig": {
29532957
"$ref": "StatefulHAConfig",
29542958
"description": "Optional. Configuration for the StatefulHA add-on."
@@ -5459,6 +5463,25 @@
54595463
},
54605464
"type": "object"
54615465
},
5466+
"GPUDirectConfig": {
5467+
"description": "GPUDirectConfig specifies the GPU direct strategy on the node pool.",
5468+
"id": "GPUDirectConfig",
5469+
"properties": {
5470+
"gpuDirectStrategy": {
5471+
"description": "The type of GPU direct strategy to enable on the node pool.",
5472+
"enum": [
5473+
"GPU_DIRECT_STRATEGY_UNSPECIFIED",
5474+
"RDMA"
5475+
],
5476+
"enumDescriptions": [
5477+
"Default value. No GPU Direct strategy is enabled on the node.",
5478+
"GPUDirect-RDMA on A3 Ultra, and A4 machine types"
5479+
],
5480+
"type": "string"
5481+
}
5482+
},
5483+
"type": "object"
5484+
},
54625485
"GPUDriverInstallationConfig": {
54635486
"description": "GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.",
54645487
"id": "GPUDriverInstallationConfig",
@@ -7106,6 +7129,10 @@
71067129
"$ref": "GcfsConfig",
71077130
"description": "GCFS (Google Container File System) configs."
71087131
},
7132+
"gpuDirectConfig": {
7133+
"$ref": "GPUDirectConfig",
7134+
"description": "The configuration for GPU Direct"
7135+
},
71097136
"gvnic": {
71107137
"$ref": "VirtualNIC",
71117138
"description": "Enable or disable gvnic on the node pool."
@@ -9476,6 +9503,17 @@
94769503
},
94779504
"type": "object"
94789505
},
9506+
"SliceControllerConfig": {
9507+
"description": "Configuration for the Slice Controller.",
9508+
"id": "SliceControllerConfig",
9509+
"properties": {
9510+
"enabled": {
9511+
"description": "Optional. Indicates whether Slice Controller is enabled in the cluster.",
9512+
"type": "boolean"
9513+
}
9514+
},
9515+
"type": "object"
9516+
},
94799517
"SoleTenantConfig": {
94809518
"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.",
94819519
"id": "SoleTenantConfig",
@@ -10292,12 +10330,14 @@
1029210330
"enum": [
1029310331
"NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED",
1029410332
"BLUE_GREEN",
10295-
"SURGE"
10333+
"SURGE",
10334+
"SHORT_LIVED"
1029610335
],
1029710336
"enumDescriptions": [
1029810337
"Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.",
1029910338
"blue-green upgrade.",
10300-
"SURGE is the traditional way of upgrading a node pool. max_surge and max_unavailable determines the level of upgrade parallelism."
10339+
"SURGE is the traditional way of upgrading a node pool. max_surge and max_unavailable determines the level of upgrade parallelism.",
10340+
"SHORT_LIVED is the dedicated upgrade strategy for QueuedProvisioning and flex start nodepools scaled up only by enqueueing to the Dynamic Workload Scheduler (DWS)."
1030110341
],
1030210342
"type": "string"
1030310343
}

0 commit comments

Comments
 (0)