Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 997e777c03
Merge pull request #56179 from Random-Liu/fix-fluentd-cri-log-support
Automatic merge from submit-queue (batch tested with PRs 56115, 55143, 56179). 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>.

Do not add new field in fluentd CRI log format.

After https://github.com/kubernetes/kubernetes/pull/55922 is merged, the test `Cluster level logging implemented by Stackdriver should ingest logs` starts to fail in cri-containerd cluster e2e test.
https://k8s-testgrid.appspot.com/sig-node-containerd#e2e-gci

I believe the reason is that the GCP fluentd plugin assumes that there are only `timestamp`, `severity`, `stream` and `log|message|msg` fields in the log entry.

If there is any other fields, GCP fluentd plugin will not try to convert the payload to json, even if the log content is json. The plugin deletes `stream`, `timestamp` and `severity`, then assumes that there is only one field left e13c89a1b6/lib/fluent/plugin/out_google_cloud.rb (L495).

This PR removes the tag field. With this, fluentd GCP plugin should work again.

@yujuhong @crassirostris 
/cc @kubernetes/sig-node-bugs @kubernetes/sig-instrumentation-bugs 
/cc @derekwaynecarr for milestone approve. Thanks!

**Release note**:

```release-note
none
```
2017-11-22 02:56:28 -08:00
.github Merge pull request #54114 from xiangpengzhao/fix-pr-template 2017-10-30 18:37:06 -07:00
api Merge pull request #55848 from MrHohn/custom-pod-dns-api 2017-11-21 17:57:37 -08:00
build install ipset in debian-iptables docker image and bump tag to v10 2017-11-22 15:37:15 +08:00
cluster Do not add new field in fluentd CRI log format. 2017-11-22 01:25:24 +00:00
cmd Merge pull request #56186 from liggitt/master 2017-11-22 00:27:32 -08:00
docs Merge pull request #55848 from MrHohn/custom-pod-dns-api 2017-11-21 17:57:37 -08:00
examples Update generated files 2017-11-09 12:14:08 +01:00
Godeps Merge pull request #51498 from NickrenREN/pvc-resize-cinder 2017-11-21 23:40:37 -08:00
hack Revert "Kubelet flags take precedence over config from files/ConfigMaps" 2017-11-21 23:55:43 -05:00
logo
pkg Merge pull request #55143 from feiskyer/version 2017-11-22 02:56:26 -08:00
plugin Merge pull request #55103 from ConnorDoyle/remove-oir 2017-11-22 00:27:27 -08:00
staging Merge pull request #55103 from ConnorDoyle/remove-oir 2017-11-22 00:27:27 -08:00
test Merge pull request #56186 from liggitt/master 2017-11-22 00:27:32 -08:00
third_party Update generated files 2017-11-09 12:14:08 +01:00
translations Merge pull request #47584 from zjj2wry/translate 2017-11-15 23:57:28 -08:00
vendor Merge pull request #51498 from NickrenREN/pvc-resize-cinder 2017-11-21 23:40:37 -08:00
.bazelrc
.generated_files
.gitattributes Hide openapi-spec in diffs 2017-11-04 23:16:04 -07:00
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md Update CHANGELOG-1.7.md for v1.7.10. 2017-11-03 16:39:03 -04:00
CHANGELOG-1.8.md Update CHANGELOG-1.8.md for v1.8.4. 2017-11-20 10:08:31 -08:00
CHANGELOG-1.9.md Update CHANGELOG-1.9.md for v1.9.0-alpha.3. 2017-11-15 16:08:16 -08:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SUPPORT.md
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics