Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Dec 21, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,11 @@ message ClusterUpdate {

// The desired node pool logging configuration defaults for the cluster.
NodePoolLoggingConfig desired_node_pool_logging_config = 116;

// The desired stack type of the cluster.
// If a stack type is provided and does not match the current stack type of
// the cluster, update will attempt to change the stack type to the new type.
StackType desired_stack_type = 119;
}

// This operation resource represents operations that may have happened or are
Expand Down Expand Up @@ -5213,3 +5218,15 @@ enum DatapathProvider {
// for more.
ADVANCED_DATAPATH = 2;
}

// Possible values for IP stack type
enum StackType {
// By default, the clusters will be IPV4 only
STACK_TYPE_UNSPECIFIED = 0;

// The value used if the cluster is a IPV4 only
IPV4 = 1;

// The value used if the cluster is a dual stack cluster
IPV4_IPV6 = 2;
}
13 changes: 13 additions & 0 deletions packages/google-container/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions packages/google-container/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/google-container/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.