Skip to content

Commit

Permalink
feat: Add KUBE_DNS option to DNSConfig.cluster_dns
Browse files Browse the repository at this point in the history
---
feat: add Tier 1 cluster-level API network_performance_config
PiperOrigin-RevId: 544446757
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 29, 2023
1 parent 3c66765 commit becb844
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion google/container/v1beta1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ message NodeConfig {

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

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

// The desired network performance config.
NetworkConfig.ClusterNetworkPerformanceConfig
desired_network_performance_config = 125;

// Enable/Disable FQDN Network Policy for the cluster.
optional bool desired_enable_fqdn_network_policy = 126;

Expand Down Expand Up @@ -4623,6 +4627,21 @@ message StatusCondition {

// NetworkConfig reports the relative names of network & subnetwork.
message NetworkConfig {
// Configuration of all network bandwidth tiers
message ClusterNetworkPerformanceConfig {
// Node network tier
enum Tier {
// Default value
TIER_UNSPECIFIED = 0;

// Higher bandwidth, actual values based on VM size.
TIER_1 = 1;
}

// Specifies the total network bandwidth tier for the NodePool.
optional Tier total_egress_bandwidth_tier = 1;
}

// Output only. The relative name of the Google Compute Engine
// [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
// to which the cluster is connected. Example:
Expand Down Expand Up @@ -4668,6 +4687,9 @@ message NetworkConfig {
// cluster.
GatewayAPIConfig gateway_api_config = 16;

// Network bandwidth tier configuration.
ClusterNetworkPerformanceConfig network_performance_config = 18;

// Whether FQDN Network Policy is enabled on this cluster.
optional bool enable_fqdn_network_policy = 19;
}
Expand Down Expand Up @@ -4837,6 +4859,9 @@ message DNSConfig {

// Use CloudDNS for DNS resolution.
CLOUD_DNS = 2;

// Use KubeDNS for DNS resolution
KUBE_DNS = 3;
}

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

0 comments on commit becb844

Please sign in to comment.