Skip to content

Commit 8464e52

Browse files
Google APIscopybara-github
authored andcommitted
feat: add advanced_datapath_observability_config to monitoring_config
PiperOrigin-RevId: 547520012
1 parent 3d3e0ef commit 8464e52

1 file changed

Lines changed: 32 additions & 3 deletions

File tree

google/container/v1beta1/cluster_service.proto

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ message NodeNetworkConfig {
922922
// overprovisioning is disabled.
923923
PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
924924

925-
// Output only. [Output only] The utilization of the IPv4 range for pod.
925+
// Output only. [Output only] The utilization of the IPv4 range for the pod.
926926
// The ratio is Usage/[Total number of IPs in the secondary range],
927927
// Usage=numNodes*numZones*podIPsPerNode.
928928
double pod_ipv4_range_utilization = 16
@@ -1647,7 +1647,7 @@ message IPAllocationPolicy {
16471647
[(google.api.field_behavior) = OUTPUT_ONLY];
16481648

16491649
// Output only. [Output only] The utilization of the cluster default IPv4
1650-
// range for pod. The ratio is Usage/[Total number of IPs in the secondary
1650+
// range for the pod. The ratio is Usage/[Total number of IPs in the secondary
16511651
// range], Usage=numNodes*numZones*podIPsPerNode.
16521652
double default_pod_ipv4_range_utilization = 25
16531653
[(google.api.field_behavior) = OUTPUT_ONLY];
@@ -4895,7 +4895,7 @@ message DNSConfig {
48954895
// Use CloudDNS for DNS resolution.
48964896
CLOUD_DNS = 2;
48974897

4898-
// Use KubeDNS for DNS resolution
4898+
// Use KubeDNS for DNS resolution.
48994899
KUBE_DNS = 3;
49004900
}
49014901

@@ -5488,6 +5488,35 @@ message MonitoringConfig {
54885488
// Enable Google Cloud Managed Service for Prometheus
54895489
// in the cluster.
54905490
ManagedPrometheusConfig managed_prometheus_config = 2;
5491+
5492+
// Configuration of Advanced Datapath Observability features.
5493+
AdvancedDatapathObservabilityConfig advanced_datapath_observability_config =
5494+
3;
5495+
}
5496+
5497+
// AdvancedDatapathObservabilityConfig specifies configuration of observability
5498+
// features of advanced datapath.
5499+
message AdvancedDatapathObservabilityConfig {
5500+
// Supported Relay modes
5501+
enum RelayMode {
5502+
// Default value. This shouldn't be used.
5503+
RELAY_MODE_UNSPECIFIED = 0;
5504+
5505+
// disabled
5506+
DISABLED = 1;
5507+
5508+
// exposed via internal load balancer
5509+
INTERNAL_VPC_LB = 3;
5510+
5511+
// exposed via external load balancer
5512+
EXTERNAL_LB = 4;
5513+
}
5514+
5515+
// Expose flow metrics on nodes
5516+
bool enable_metrics = 1;
5517+
5518+
// Method used to make Relay available
5519+
RelayMode relay_mode = 2;
54915520
}
54925521

54935522
// NodePoolLoggingConfig specifies logging configuration for nodepools.

0 commit comments

Comments
 (0)