feat: add advanced_datapath_observability_config to monitoring_config

PiperOrigin-RevId: 547520012
This commit is contained in:
Google APIs 2023-07-12 09:37:03 -07:00 committed by Copybara-Service
parent 3d3e0ef456
commit 8464e52fb2

View file

@ -922,7 +922,7 @@ message NodeNetworkConfig {
// overprovisioning is disabled.
PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
// Output only. [Output only] The utilization of the IPv4 range for pod.
// Output only. [Output only] The utilization of the IPv4 range for the pod.
// The ratio is Usage/[Total number of IPs in the secondary range],
// Usage=numNodes*numZones*podIPsPerNode.
double pod_ipv4_range_utilization = 16
@ -1647,7 +1647,7 @@ message IPAllocationPolicy {
[(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. [Output only] The utilization of the cluster default IPv4
// range for pod. The ratio is Usage/[Total number of IPs in the secondary
// range for the pod. The ratio is Usage/[Total number of IPs in the secondary
// range], Usage=numNodes*numZones*podIPsPerNode.
double default_pod_ipv4_range_utilization = 25
[(google.api.field_behavior) = OUTPUT_ONLY];
@ -4895,7 +4895,7 @@ message DNSConfig {
// Use CloudDNS for DNS resolution.
CLOUD_DNS = 2;
// Use KubeDNS for DNS resolution
// Use KubeDNS for DNS resolution.
KUBE_DNS = 3;
}
@ -5488,6 +5488,35 @@ message MonitoringConfig {
// Enable Google Cloud Managed Service for Prometheus
// in the cluster.
ManagedPrometheusConfig managed_prometheus_config = 2;
// Configuration of Advanced Datapath Observability features.
AdvancedDatapathObservabilityConfig advanced_datapath_observability_config =
3;
}
// AdvancedDatapathObservabilityConfig specifies configuration of observability
// features of advanced datapath.
message AdvancedDatapathObservabilityConfig {
// Supported Relay modes
enum RelayMode {
// Default value. This shouldn't be used.
RELAY_MODE_UNSPECIFIED = 0;
// disabled
DISABLED = 1;
// exposed via internal load balancer
INTERNAL_VPC_LB = 3;
// exposed via external load balancer
EXTERNAL_LB = 4;
}
// Expose flow metrics on nodes
bool enable_metrics = 1;
// Method used to make Relay available
RelayMode relay_mode = 2;
}
// NodePoolLoggingConfig specifies logging configuration for nodepools.