open-nomad/drivers/docker
Mahmood Ali 8ec49fc133
Handle when cannot fetch docker logs (#5420)
Fix #5418

When using a docker logger that doesn't support log streaming through
API, currently docker logger runs a tight loop of Docker API calls
unexpectedly. This change ensures we stop fetching logs early.

Also, this adds some basic backoff strategy when Docker API logging
fails unexpectedly, to avoid accidentally DoSing the docker daemon.
2019-03-14 16:23:11 -04:00
..
cmd Plugins use parent loggers 2019-01-11 11:36:37 -08:00
docklog Handle when cannot fetch docker logs (#5420) 2019-03-14 16:23:11 -04:00
test-resources/docker tests: pin busybox image to a specific point tag 2018-12-15 15:03:56 -05:00
util docker: Support stats on Windows 2019-02-22 14:19:58 +01:00
config.go drivers/docker: rename logging type to driver 2019-02-28 16:04:03 -05:00
config_test.go Support driver config fields being set to nil (#5391) 2019-03-05 21:47:06 -05:00
coordinator.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
coordinator_test.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
driver.go logging.Type over logging.Driver 2019-02-28 16:40:18 -05:00
driver_darwin_test.go tests: run docker tests in macOS out of box 2019-01-08 14:35:40 -05:00
driver_default.go
driver_linux_test.go tests: IsTravis() -> IsCI() 2019-02-20 08:21:03 -05:00
driver_pre09.go client: fix bug during 0.8 state up grade that causes external drivers to fail 2019-01-30 14:22:29 -05:00
driver_test.go minor review feedback 2019-03-13 13:27:28 -05:00
driver_unix_test.go tests: IsTravis() -> IsCI() 2019-02-20 08:21:03 -05:00
driver_windows.go
driver_windows_test.go chore: General Cleanup 2019-01-17 18:43:14 +01:00
fingerprint.go docker: report unhealthy in unsupported Windows (#5356) 2019-02-27 08:10:23 -05:00
fingerprint_test.go docker: report unhealthy in unsupported Windows (#5356) 2019-02-27 08:10:23 -05:00
handle.go Don't fall through 2019-01-28 09:53:19 -08:00
progress.go
progress_test.go
state.go
stats.go docker: Support stats on Windows 2019-02-22 14:19:58 +01:00
stats_test.go docker: Support stats on Windows 2019-02-22 14:19:58 +01:00
utils.go Validate all auth fields being empty rather than just email 2019-03-13 11:47:37 -05:00
utils_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00
utils_unix_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00
utils_windows_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00