Skip to content

Commit 792dacb

Browse files
Google APIscopybara-github
authored andcommitted
feat: add secondary boot disks field to NodePool API
PiperOrigin-RevId: 613011062
1 parent 324b281 commit 792dacb

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

google/container/v1/cluster_service.proto

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

841844
// Specifies options for controlling advanced machine features.
@@ -5350,6 +5353,27 @@ message EnterpriseConfig {
53505353
ClusterTier cluster_tier = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
53515354
}
53525355

5356+
// SecondaryBootDisk represents a persistent disk attached to a node
5357+
// with special configurations based on its mode.
5358+
message SecondaryBootDisk {
5359+
// Mode specifies how the secondary boot disk will be used.
5360+
// This triggers mode-specified logic in the control plane.
5361+
enum Mode {
5362+
// MODE_UNSPECIFIED is when mode is not set.
5363+
MODE_UNSPECIFIED = 0;
5364+
5365+
// CONTAINER_IMAGE_CACHE is for using the secondary boot disk as
5366+
// a container image cache.
5367+
CONTAINER_IMAGE_CACHE = 1;
5368+
}
5369+
5370+
// Disk mode (container image cache, etc.)
5371+
Mode mode = 1;
5372+
5373+
// Fully-qualified resource ID for an existing disk image.
5374+
string disk_image = 2;
5375+
}
5376+
53535377
// Options for in-transit encryption.
53545378
enum InTransitEncryptionConfig {
53555379
// Unspecified, will be inferred as default -

0 commit comments

Comments
 (0)