@@ -740,6 +740,9 @@ message NodeConfig {
740740 // Confidential nodes config.
741741 // All the nodes in the node pool will be Confidential VM once enabled.
742742 ConfidentialNodes confidential_nodes = 35 ;
743+
744+ // Logging configuration.
745+ NodePoolLoggingConfig logging_config = 38 ;
743746}
744747
745748// Specifies options for controlling advanced machine features.
@@ -876,8 +879,9 @@ message ReservationAffinity {
876879 Type consume_reservation_type = 1 ;
877880
878881 // Corresponds to the label key of a reservation resource. To target a
879- // SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
880- // the key and specify the name of your reservation as its value.
882+ // SPECIFIC_RESERVATION by name, specify
883+ // "compute.googleapis.com/reservation-name" as the key and specify the name
884+ // of your reservation as its value.
881885 string key = 2 ;
882886
883887 // Corresponds to the label value(s) of reservation resource(s).
@@ -1708,6 +1712,9 @@ message NodePoolDefaults {
17081712message NodeConfigDefaults {
17091713 // GCFS (Google Container File System, also known as Riptide) options.
17101714 GcfsConfig gcfs_config = 1 ;
1715+
1716+ // Logging configuration for node pools.
1717+ NodePoolLoggingConfig logging_config = 3 ;
17111718}
17121719
17131720// ClusterUpdate describes an update to the cluster. Exactly one update can
@@ -1871,6 +1878,9 @@ message ClusterUpdate {
18711878 // The desired network tags that apply to all auto-provisioned node pools
18721879 // in autopilot clusters and node auto-provisioning enabled clusters.
18731880 NetworkTags desired_node_pool_auto_config_network_tags = 110 ;
1881+
1882+ // The desired node pool logging configuration defaults for the cluster.
1883+ NodePoolLoggingConfig desired_node_pool_logging_config = 116 ;
18741884}
18751885
18761886// This operation resource represents operations that may have happened or are
@@ -2205,6 +2215,9 @@ message UpdateNodePoolRequest {
22052215
22062216 // Enable or disable gvnic on the node pool.
22072217 VirtualNIC gvnic = 29 ;
2218+
2219+ // Logging configuration.
2220+ NodePoolLoggingConfig logging_config = 32 ;
22082221}
22092222
22102223// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
@@ -3305,7 +3318,7 @@ message AutoprovisioningNodePoolDefaults {
33053318 // minCpuPlatform: Intel Haswell or
33063319 // minCpuPlatform: Intel Sandy Bridge. For more
33073320 // information, read [how to specify min CPU
3308- // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
3321+ // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
33093322 // This field is deprecated, min_cpu_platform should be specified using
33103323 // https://cloud.google.com/requested-min-cpu-platform label selector on the
33113324 // pod.
@@ -4286,6 +4299,30 @@ message MonitoringConfig {
42864299 ManagedPrometheusConfig managed_prometheus_config = 2 ;
42874300}
42884301
4302+ // NodePoolLoggingConfig specifies logging configuration for nodepools.
4303+ message NodePoolLoggingConfig {
4304+ // Logging variant configuration.
4305+ LoggingVariantConfig variant_config = 1 ;
4306+ }
4307+
4308+ // LoggingVariantConfig specifies the behaviour of the logging component.
4309+ message LoggingVariantConfig {
4310+ // Logging component variants.
4311+ enum Variant {
4312+ // Default value. This shouldn't be used.
4313+ VARIANT_UNSPECIFIED = 0 ;
4314+
4315+ // default logging variant.
4316+ DEFAULT = 1 ;
4317+
4318+ // maximum logging throughput variant.
4319+ MAX_THROUGHPUT = 2 ;
4320+ }
4321+
4322+ // Logging variant deployed on nodes.
4323+ Variant variant = 1 ;
4324+ }
4325+
42894326// MonitoringComponentConfig is cluster monitoring component configuration.
42904327message MonitoringComponentConfig {
42914328 // GKE components exposing metrics
0 commit comments