Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

feat: added High Throughput Logging API for Google Kubernetes Engine #571

Merged
merged 2 commits into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 40 additions & 3 deletions protos/google/container/v1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,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 @@ -876,8 +879,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 @@ -1708,6 +1712,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;
}

// ClusterUpdate describes an update to the cluster. Exactly one update can
Expand Down Expand Up @@ -1871,6 +1878,9 @@ message ClusterUpdate {
// The desired network tags that apply to all auto-provisioned node pools
// in autopilot clusters and node auto-provisioning enabled clusters.
NetworkTags desired_node_pool_auto_config_network_tags = 110;

// 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 @@ -2205,6 +2215,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 @@ -3305,7 +3318,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 @@ -4286,6 +4299,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
228 changes: 228 additions & 0 deletions protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading