Files
kubernetes/pkg/kubelet/dockershim
Kubernetes Submit Queue e3e2e24cc5 Merge pull request #52503 from joelsmith/journald-log-fallback
Automatic merge from submit-queue (batch tested with PRs 54040, 52503). 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>.

Get fallback termination msg from docker when using journald log driver

**What this PR does / why we need it**:

When using the legacy docker container runtime and when a container has `terminationMessagePolicy=FallbackToLogsOnError` and when docker is configured with a log driver other than `json-log` (such as `journald`), the kubelet should not try to get the container's log from the json log file (since it's not there) but should instead ask docker for the logs.

**Which issue this PR fixes** fixes #52502

**Special notes for your reviewer**:

**Release note**:
```release-note
Fixed log fallback termination messages when using docker with journald log driver
```
2017-10-17 13:18:15 -07:00
..
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-07-13 12:55:07 -07:00
2017-07-13 12:55:07 -07:00
2017-06-09 10:16:40 +08:00
2017-07-13 12:55:07 -07:00
2017-06-09 10:16:40 +08:00
2017-06-09 10:16:40 +08:00