Skip to content

Commit becb844

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add KUBE_DNS option to DNSConfig.cluster_dns
--- feat: add Tier 1 cluster-level API network_performance_config PiperOrigin-RevId: 544446757
1 parent 3c66765 commit becb844

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

google/container/v1beta1/cluster_service.proto

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ message NodeConfig {
716716

717717
// Whether the nodes are created as preemptible VM instances. See:
718718
// https://cloud.google.com/compute/docs/instances/preemptible for more
719-
// inforamtion about preemptible VM instances.
719+
// information about preemptible VM instances.
720720
bool preemptible = 10;
721721

722722
// A list of hardware accelerators to be attached to each node.
@@ -2445,6 +2445,10 @@ message ClusterUpdate {
24452445
// Enable/Disable Security Posture API features for the cluster.
24462446
SecurityPostureConfig desired_security_posture_config = 124;
24472447

2448+
// The desired network performance config.
2449+
NetworkConfig.ClusterNetworkPerformanceConfig
2450+
desired_network_performance_config = 125;
2451+
24482452
// Enable/Disable FQDN Network Policy for the cluster.
24492453
optional bool desired_enable_fqdn_network_policy = 126;
24502454

@@ -4623,6 +4627,21 @@ message StatusCondition {
46234627

46244628
// NetworkConfig reports the relative names of network & subnetwork.
46254629
message NetworkConfig {
4630+
// Configuration of all network bandwidth tiers
4631+
message ClusterNetworkPerformanceConfig {
4632+
// Node network tier
4633+
enum Tier {
4634+
// Default value
4635+
TIER_UNSPECIFIED = 0;
4636+
4637+
// Higher bandwidth, actual values based on VM size.
4638+
TIER_1 = 1;
4639+
}
4640+
4641+
// Specifies the total network bandwidth tier for the NodePool.
4642+
optional Tier total_egress_bandwidth_tier = 1;
4643+
}
4644+
46264645
// Output only. The relative name of the Google Compute Engine
46274646
// [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
46284647
// to which the cluster is connected. Example:
@@ -4668,6 +4687,9 @@ message NetworkConfig {
46684687
// cluster.
46694688
GatewayAPIConfig gateway_api_config = 16;
46704689

4690+
// Network bandwidth tier configuration.
4691+
ClusterNetworkPerformanceConfig network_performance_config = 18;
4692+
46714693
// Whether FQDN Network Policy is enabled on this cluster.
46724694
optional bool enable_fqdn_network_policy = 19;
46734695
}
@@ -4837,6 +4859,9 @@ message DNSConfig {
48374859

48384860
// Use CloudDNS for DNS resolution.
48394861
CLOUD_DNS = 2;
4862+
4863+
// Use KubeDNS for DNS resolution
4864+
KUBE_DNS = 3;
48404865
}
48414866

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

0 commit comments

Comments
 (0)