Merge pull request #61773 from crassirostris/fluentd-partial-success

Automatic merge from submit-queue (batch tested with PRs 60465, 61773, 61371, 61146). 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>.

Enable partial success in fluentd-gcp

Enable partial success in fluentd-gcp. This will allow to reduce amount of lost data in case of invalid (e.g. too big) entries: instead of dropping the whole request, only failed entries will be dropped.

```release-note
[fluentd-gcp addon] Partial success option is enabled in fluentd.
```

/assign @x13n 
/cc @bmoyles0117
This commit is contained in:
Kubernetes Submit Queue 2018-03-28 01:34:48 -07:00 committed by GitHub
commit 70463ec4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -402,6 +402,8 @@ data:
# the necessary resource types when this label is set.
"logging.googleapis.com/k8s_compatibility": "true"
}
# Only drop failed entries partially, instead of dropping the whole request.
partial_success true
</match>
# Keep a smaller buffer here since these logs are less important than the user's
@ -430,9 +432,10 @@ data:
# the necessary resource types when this label is set.
"logging.googleapis.com/k8s_compatibility": "true"
}
partial_success true
</match>
metadata:
name: fluentd-gcp-config-v1.2.4
name: fluentd-gcp-config-v1.2.5
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: Reconcile

View File

@ -108,4 +108,4 @@ spec:
path: /var/lib/docker/containers
- name: config-volume
configMap:
name: fluentd-gcp-config-v1.2.4
name: fluentd-gcp-config-v1.2.5