@@ -702,7 +702,7 @@ message NodeConfig {
702702 // `minCpuPlatform: "Intel Haswell"` or
703703 // `minCpuPlatform: "Intel Sandy Bridge"`. For more
704704 // information, read [how to specify min CPU
705- // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
705+ // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
706706 string min_cpu_platform = 13 ;
707707
708708 // The workload metadata configuration for this node.
@@ -752,6 +752,9 @@ message NodeConfig {
752752 // Confidential nodes config.
753753 // All the nodes in the node pool will be Confidential VM once enabled.
754754 ConfidentialNodes confidential_nodes = 35 ;
755+
756+ // Logging configuration.
757+ NodePoolLoggingConfig logging_config = 38 ;
755758}
756759
757760// Specifies options for controlling advanced machine features.
@@ -903,8 +906,9 @@ message ReservationAffinity {
903906 Type consume_reservation_type = 1 ;
904907
905908 // Corresponds to the label key of a reservation resource. To target a
906- // SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
907- // the key and specify the name of your reservation as its value.
909+ // SPECIFIC_RESERVATION by name, specify
910+ // "compute.googleapis.com/reservation-name" as the key and specify the name
911+ // of your reservation as its value.
908912 string key = 2 ;
909913
910914 // Corresponds to the label value(s) of reservation resource(s).
@@ -1923,6 +1927,9 @@ message NodePoolDefaults {
19231927message NodeConfigDefaults {
19241928 // GCFS (Google Container File System, also known as Riptide) options.
19251929 GcfsConfig gcfs_config = 1 ;
1930+
1931+ // Logging configuration for node pools.
1932+ NodePoolLoggingConfig logging_config = 3 ;
19261933}
19271934
19281935// node pool configs that apply to all auto-provisioned node pools
@@ -2123,6 +2130,9 @@ message ClusterUpdate {
21232130
21242131 // Enable/Disable Protect API features for the cluster.
21252132 optional ProtectConfig desired_protect_config = 112 ;
2133+
2134+ // The desired node pool logging configuration defaults for the cluster.
2135+ NodePoolLoggingConfig desired_node_pool_logging_config = 116 ;
21262136}
21272137
21282138// This operation resource represents operations that may have happened or are
@@ -2493,6 +2503,9 @@ message UpdateNodePoolRequest {
24932503
24942504 // Enable or disable gvnic on the node pool.
24952505 VirtualNIC gvnic = 29 ;
2506+
2507+ // Logging configuration.
2508+ NodePoolLoggingConfig logging_config = 32 ;
24962509}
24972510
24982511// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
@@ -3848,7 +3861,7 @@ message AutoprovisioningNodePoolDefaults {
38483861 // minCpuPlatform: Intel Haswell or
38493862 // minCpuPlatform: Intel Sandy Bridge. For more
38503863 // information, read [how to specify min CPU
3851- // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
3864+ // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
38523865 // This field is deprecated, min_cpu_platform should be specified using
38533866 // https://cloud.google.com/requested-min-cpu-platform label selector on the
38543867 // pod.
@@ -5039,6 +5052,30 @@ message MonitoringConfig {
50395052 ManagedPrometheusConfig managed_prometheus_config = 2 ;
50405053}
50415054
5055+ // NodePoolLoggingConfig specifies logging configuration for nodepools.
5056+ message NodePoolLoggingConfig {
5057+ // Logging variant configuration.
5058+ LoggingVariantConfig variant_config = 1 ;
5059+ }
5060+
5061+ // LoggingVariantConfig specifies the behaviour of the logging component.
5062+ message LoggingVariantConfig {
5063+ // Logging component variants.
5064+ enum Variant {
5065+ // Default value. This shouldn't be used.
5066+ VARIANT_UNSPECIFIED = 0 ;
5067+
5068+ // default logging variant.
5069+ DEFAULT = 1 ;
5070+
5071+ // maximum logging throughput variant.
5072+ MAX_THROUGHPUT = 2 ;
5073+ }
5074+
5075+ // Logging variant deployed on nodes.
5076+ Variant variant = 1 ;
5077+ }
5078+
50425079// MonitoringComponentConfig is cluster monitoring component configuration.
50435080message MonitoringComponentConfig {
50445081 // GKE components exposing metrics
0 commit comments