kubernetes/pkg/kubelet/kuberuntime
Kubernetes Submit Queue 164317879b
Merge pull request #55922 from Random-Liu/add-partical-cri-log
Automatic merge from submit-queue (batch tested with PRs 55938, 56055, 53385, 55796, 55922). 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>.

Add partial CRI container log support.

For https://github.com/kubernetes/kubernetes/issues/44976.

New CRI log format:
```
TIMESTAMP STREAM TAG CONTENT
2016-10-06T00:17:09.669794202Z stdout P log content 1
2016-10-06T00:17:09.669794203Z stdout P log content 2
```

Although unlikely, if in the future we need more metadata in each line, we could extend TAG into multiple tags splitted by `:`.

@yujuhong @feiskyer @crassirostris @mrunalp @abhi @mikebrow 
/cc @kubernetes/sig-node-api-reviews @kubernetes/sig-instrumentation-api-reviews 

**Release note**:

```release-note
A new field is added to CRI container log format to support splitting a long log line into multiple lines.
```
2017-11-21 07:43:53 -08:00
..
logs Add constants in CRI. 2017-11-21 00:36:01 +00:00
BUILD Update generated files 2017-11-09 12:14:08 +01:00
doc.go cmd/kubelet 2016-11-23 15:53:09 -08:00
fake_kuberuntime_manager.go fix #52462. Do not GC exited containers in running pods 2017-09-28 09:37:21 -07:00
helpers_test.go follow our go code style: error->err 2017-07-07 09:34:38 +08:00
helpers.go Consolidate DNS codes in kubelet pkg 2017-11-16 21:07:24 -08:00
instrumented_services_test.go add TestStatus to instrumented_services_test 2017-10-17 18:33:02 +08:00
instrumented_services.go Fix CRI container/imagefs stats. 2017-09-18 07:48:20 +00:00
kuberuntime_container_test.go Clean up redundant DNS related kubelet codes 2017-11-04 12:33:32 -07:00
kuberuntime_container.go Clean up redundant DNS related kubelet codes 2017-11-04 12:33:32 -07:00
kuberuntime_gc_test.go fix #52462. Do not GC exited containers in running pods 2017-09-28 09:37:21 -07:00
kuberuntime_gc.go fix #52462. Do not GC exited containers in running pods 2017-09-28 09:37:21 -07:00
kuberuntime_image_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
kuberuntime_image.go run hack/update-all 2017-06-22 11:31:03 -07:00
kuberuntime_logs.go Make CRI logs parsing to a library 2017-11-07 10:07:16 +08:00
kuberuntime_manager_test.go Attempt at fixing UTs 2017-09-15 09:23:52 -07:00
kuberuntime_manager.go Merge pull request #53984 from sttts/sttts-legacyscheme 2017-10-18 10:49:10 -07:00
kuberuntime_sandbox_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
kuberuntime_sandbox.go Consolidate DNS codes in kubelet pkg 2017-11-16 21:07:24 -08:00
labels_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
labels.go run hack/update-all 2017-06-22 11:31:03 -07:00
legacy_test.go Move legacy log symlink to kuberuntime 2017-05-05 11:48:08 -07:00
legacy.go Move legacy log symlink to kuberuntime 2017-05-05 11:48:08 -07:00
security_context_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
security_context.go Support seccomp profile from container's security context 2017-08-13 15:42:15 +08:00