Skip to content

Commit 208250e

Browse files
feat: [container] add secondary boot disks field to NodePool API (#5094)
* feat: add secondary boot disks field to NodePool API PiperOrigin-RevId: 610868066 Source-Link: googleapis/googleapis@13c6878 Source-Link: googleapis/googleapis-gen@bc7f831 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYmM3ZjgzMWFjMDA2NTU4NDI3Njg5ZjE2MWJkMDBjMmVkMmI2ZmFkOSJ9 * 🦉 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 54e407b commit 208250e

4 files changed

Lines changed: 471 additions & 0 deletions

File tree

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,9 @@ message NodeConfig {
837837
// Optional. Reserved for future use.
838838
bool enable_confidential_storage = 46
839839
[(google.api.field_behavior) = OPTIONAL];
840+
841+
// List of secondary boot disks attached to the nodes.
842+
repeated SecondaryBootDisk secondary_boot_disks = 48;
840843
}
841844

842845
// Specifies options for controlling advanced machine features.
@@ -5939,6 +5942,27 @@ message EnterpriseConfig {
59395942
ClusterTier cluster_tier = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
59405943
}
59415944

5945+
// SecondaryBootDisk represents a persistent disk attached to a node
5946+
// with special configurations based on its mode.
5947+
message SecondaryBootDisk {
5948+
// Mode specifies how the secondary boot disk will be used.
5949+
// This triggers mode-specified logic in the control plane.
5950+
enum Mode {
5951+
// MODE_UNSPECIFIED is when mode is not set.
5952+
MODE_UNSPECIFIED = 0;
5953+
5954+
// CONTAINER_IMAGE_CACHE is for using the secondary boot disk as
5955+
// a container image cache.
5956+
CONTAINER_IMAGE_CACHE = 1;
5957+
}
5958+
5959+
// Disk mode (container image cache, etc.)
5960+
Mode mode = 1;
5961+
5962+
// Fully-qualified resource ID for an existing disk image.
5963+
string disk_image = 2;
5964+
}
5965+
59425966
// Options for in-transit encryption.
59435967
enum InTransitEncryptionConfig {
59445968
// Unspecified, will be inferred as default -

packages/google-container/protos/protos.d.ts

Lines changed: 118 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)