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: 544216853
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 29, 2023
1 parent a225b04 commit deabec5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions google/container/v1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2185,6 +2185,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 @@ -4163,6 +4167,21 @@ message StatusCondition {

// NetworkConfig reports the relative names of network & subnetwork.
message NetworkConfig {
// Configuration of 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 NodePools in the cluster.
optional Tier total_egress_bandwidth_tier = 1;
}

// Output only. The relative name of the Google Compute Engine
// [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
// to which the cluster is connected. Example:
Expand Down Expand Up @@ -4208,6 +4227,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 @@ -4444,6 +4466,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 deabec5

Please sign in to comment.