Skip to content

Commit 9d1290e

Browse files
Google APIscopybara-github
authored andcommitted
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
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
1 parent 02dcec3 commit 9d1290e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

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+
}

0 commit comments

Comments
 (0)