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

Commit

Permalink
feat: added High Throughput Logging API for Google Kubernetes Engine (#…
Browse files Browse the repository at this point in the history
…571)

* feat: added High Throughput Logging API for Google Kubernetes Engine
docs: ReservationAffinity key field docs incorrect
docs: missing period in description for min CPU platform

PiperOrigin-RevId: 474706444

Source-Link: googleapis/googleapis@a5a8829

Source-Link: https://github.com/googleapis/googleapis-gen/commit/992389d809ed37f8fd4d787209048551d9e61154
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTkyMzg5ZDgwOWVkMzdmOGZkNGQ3ODcyMDkwNDg1NTFkOWU2MTE1NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 20, 2022
1 parent 575531f commit 588b19a
Show file tree
Hide file tree
Showing 7 changed files with 879 additions and 5 deletions.
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

0 comments on commit 588b19a

Please sign in to comment.