Skip to content

Commit 833a1ae

Browse files
feat: [container] Add KUBE_DNS option to DNSConfig.cluster_dns (#4383)
* feat: Add `KUBE_DNS` option to `DNSConfig.cluster_dns` --- feat: add Tier 1 cluster-level API network_performance_config PiperOrigin-RevId: 544216853 Source-Link: googleapis/googleapis@deabec5 Source-Link: googleapis/googleapis-gen@78ec6ea Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiNzhlYzZlYWVlZTQxMGE2YmVlMjM2YWNiZjk2MWY3ZjMwZGQyMDZkOSJ9 * 🦉 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 d06c733 commit 833a1ae

4 files changed

Lines changed: 506 additions & 2 deletions

File tree

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,6 +2185,10 @@ message ClusterUpdate {
21852185
// Enable/Disable Security Posture API features for the cluster.
21862186
SecurityPostureConfig desired_security_posture_config = 124;
21872187

2188+
// The desired network performance config.
2189+
NetworkConfig.ClusterNetworkPerformanceConfig
2190+
desired_network_performance_config = 125;
2191+
21882192
// Enable/Disable FQDN Network Policy for the cluster.
21892193
optional bool desired_enable_fqdn_network_policy = 126;
21902194

@@ -4163,6 +4167,21 @@ message StatusCondition {
41634167

41644168
// NetworkConfig reports the relative names of network & subnetwork.
41654169
message NetworkConfig {
4170+
// Configuration of network bandwidth tiers
4171+
message ClusterNetworkPerformanceConfig {
4172+
// Node network tier
4173+
enum Tier {
4174+
// Default value
4175+
TIER_UNSPECIFIED = 0;
4176+
4177+
// Higher bandwidth, actual values based on VM size.
4178+
TIER_1 = 1;
4179+
}
4180+
4181+
// Specifies the total network bandwidth tier for NodePools in the cluster.
4182+
optional Tier total_egress_bandwidth_tier = 1;
4183+
}
4184+
41664185
// Output only. The relative name of the Google Compute Engine
41674186
// [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
41684187
// to which the cluster is connected. Example:
@@ -4208,6 +4227,9 @@ message NetworkConfig {
42084227
// cluster.
42094228
GatewayAPIConfig gateway_api_config = 16;
42104229

4230+
// Network bandwidth tier configuration.
4231+
ClusterNetworkPerformanceConfig network_performance_config = 18;
4232+
42114233
// Whether FQDN Network Policy is enabled on this cluster.
42124234
optional bool enable_fqdn_network_policy = 19;
42134235
}
@@ -4444,6 +4466,9 @@ message DNSConfig {
44444466

44454467
// Use CloudDNS for DNS resolution.
44464468
CLOUD_DNS = 2;
4469+
4470+
// Use KubeDNS for DNS resolution
4471+
KUBE_DNS = 3;
44474472
}
44484473

44494474
// DNSScope lists the various scopes of access to cluster DNS records.

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

Lines changed: 126 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)