Skip to content

Commit

Permalink
feat: added High Throughput Logging API for Google Kubernetes Engine
Browse files Browse the repository at this point in the history
docs: ReservationAffinity key field docs incorrect
docs: missing period in description for min CPU platform

PiperOrigin-RevId: 474671838
  • Loading branch information
Google APIs authored and Copybara-Service committed Sep 15, 2022
1 parent e3ff5d0 commit 9212f73
Showing 1 changed file with 41 additions and 4 deletions.
45 changes: 41 additions & 4 deletions google/container/v1beta1/cluster_service.proto
Expand Up @@ -702,7 +702,7 @@ message NodeConfig {
// `minCpuPlatform: "Intel Haswell"` or
// `minCpuPlatform: "Intel Sandy Bridge"`. For more
// information, read [how to specify min CPU
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
string min_cpu_platform = 13;

// The workload metadata configuration for this node.
Expand Down Expand Up @@ -752,6 +752,9 @@ message NodeConfig {
// Confidential nodes config.
// All the nodes in the node pool will be Confidential VM once enabled.
ConfidentialNodes confidential_nodes = 35;

// Logging configuration.
NodePoolLoggingConfig logging_config = 38;
}

// Specifies options for controlling advanced machine features.
Expand Down Expand Up @@ -903,8 +906,9 @@ message ReservationAffinity {
Type consume_reservation_type = 1;

// Corresponds to the label key of a reservation resource. To target a
// SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
// the key and specify the name of your reservation as its value.
// SPECIFIC_RESERVATION by name, specify
// "compute.googleapis.com/reservation-name" as the key and specify the name
// of your reservation as its value.
string key = 2;

// Corresponds to the label value(s) of reservation resource(s).
Expand Down Expand Up @@ -1923,6 +1927,9 @@ message NodePoolDefaults {
message NodeConfigDefaults {
// GCFS (Google Container File System, also known as Riptide) options.
GcfsConfig gcfs_config = 1;

// Logging configuration for node pools.
NodePoolLoggingConfig logging_config = 3;
}

// node pool configs that apply to all auto-provisioned node pools
Expand Down Expand Up @@ -2123,6 +2130,9 @@ message ClusterUpdate {

// Enable/Disable Protect API features for the cluster.
optional ProtectConfig desired_protect_config = 112;

// The desired node pool logging configuration defaults for the cluster.
NodePoolLoggingConfig desired_node_pool_logging_config = 116;
}

// This operation resource represents operations that may have happened or are
Expand Down Expand Up @@ -2493,6 +2503,9 @@ message UpdateNodePoolRequest {

// Enable or disable gvnic on the node pool.
VirtualNIC gvnic = 29;

// Logging configuration.
NodePoolLoggingConfig logging_config = 32;
}

// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
Expand Down Expand Up @@ -3848,7 +3861,7 @@ message AutoprovisioningNodePoolDefaults {
// minCpuPlatform: Intel Haswell or
// minCpuPlatform: Intel Sandy Bridge. For more
// information, read [how to specify min CPU
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
// This field is deprecated, min_cpu_platform should be specified using
// https://cloud.google.com/requested-min-cpu-platform label selector on the
// pod.
Expand Down Expand Up @@ -5039,6 +5052,30 @@ message MonitoringConfig {
ManagedPrometheusConfig managed_prometheus_config = 2;
}

// NodePoolLoggingConfig specifies logging configuration for nodepools.
message NodePoolLoggingConfig {
// Logging variant configuration.
LoggingVariantConfig variant_config = 1;
}

// LoggingVariantConfig specifies the behaviour of the logging component.
message LoggingVariantConfig {
// Logging component variants.
enum Variant {
// Default value. This shouldn't be used.
VARIANT_UNSPECIFIED = 0;

// default logging variant.
DEFAULT = 1;

// maximum logging throughput variant.
MAX_THROUGHPUT = 2;
}

// Logging variant deployed on nodes.
Variant variant = 1;
}

// MonitoringComponentConfig is cluster monitoring component configuration.
message MonitoringComponentConfig {
// GKE components exposing metrics
Expand Down

0 comments on commit 9212f73

Please sign in to comment.