Merge pull request #60981 from bmoyles0117/use-grpc-for-performance

Automatic merge from submit-queue (batch tested with PRs 61004, 60981). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Use grpc to improve the CPU utilization of the logging agent.

Fixes #60762

**What this PR does / why we need it**:
Using gRPC improves the CPU utilization of the logging agent be reducing 
serialization overhead and reusing TCP connections.

**Release note**:
```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2018-03-13 09:00:47 -07:00 committed by GitHub
commit b11ff01168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,6 +377,7 @@ data:
disable_retry_limit
# Use multiple threads for processing.
num_threads 2
use_grpc true
labels {
# The logging backend will take responsibility for double writing to
# the necessary resource types when this label is set.
@ -404,6 +405,7 @@ data:
max_retry_wait 30
disable_retry_limit
num_threads 2
use_grpc true
labels {
# The logging backend will take responsibility for double writing to
# the necessary resource types when this label is set.