Skip to content

Commit 175d9d1

Browse files
feat: Add support for specifying stack type for clusters. This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack (#3781)
- [ ] Regenerate this pull request now. Clients can now configure dual stack clusters by specifying a stack type of IPV4_IPV6 during cluster creation, or with an update command. When used with a cluster creation command that creates a new subnet, the ipv6_access_type field can be used to specify whether the subnet has internal or external IPv6 access. When used with a cluster update command, the subnet must already be dual stack. PiperOrigin-RevId: 495981345 Source-Link: https://togithub.com/googleapis/googleapis/commit/9d1290ea4d6d14434b9321277edfde4a9616695c Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/31ed74bbd1990351a87bda1a4570ba08374281b7 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiMzFlZDc0YmJkMTk5MDM1MWE4N2JkYTFhNDU3MGJhMDgzNzQyODFiNyJ9
1 parent 8bb4f9b commit 175d9d1

4 files changed

Lines changed: 104 additions & 0 deletions

File tree

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,6 +2179,11 @@ message ClusterUpdate {
21792179

21802180
// The desired node pool logging configuration defaults for the cluster.
21812181
NodePoolLoggingConfig desired_node_pool_logging_config = 116;
2182+
2183+
// The desired stack type of the cluster.
2184+
// If a stack type is provided and does not match the current stack type of
2185+
// the cluster, update will attempt to change the stack type to the new type.
2186+
StackType desired_stack_type = 119;
21822187
}
21832188

21842189
// This operation resource represents operations that may have happened or are
@@ -5213,3 +5218,15 @@ enum DatapathProvider {
52135218
// for more.
52145219
ADVANCED_DATAPATH = 2;
52155220
}
5221+
5222+
// Possible values for IP stack type
5223+
enum StackType {
5224+
// By default, the clusters will be IPV4 only
5225+
STACK_TYPE_UNSPECIFIED = 0;
5226+
5227+
// The value used if the cluster is a IPV4 only
5228+
IPV4 = 1;
5229+
5230+
// The value used if the cluster is a dual stack cluster
5231+
IPV4_IPV6 = 2;
5232+
}

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

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

packages/google-container/protos/protos.js

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

packages/google-container/protos/protos.json

Lines changed: 11 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)