Sign inSign up

jojimail/tail-sidecar

By jojimail

•Updated over 6 years ago

Image
0

100K+

jojimail/tail-sidecar repository overview

⁠Tail Sidecar

Use this for tailing the logs from main container in kubernetes pods. This container has GNU core utils with GNU tail. The following command will tail the log till the log file exists and exit gracefully on file delete tail --follow=name test.log

This is a workaround for https://github.com/kubernetes/kubernetes/issues/25908⁠

With Kubernetes 1.18 this can be solved by declaring the tailing container as sidecar https://banzaicloud.com/blog/k8s-sidecars/⁠

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

over 6 years ago

docker pull jojimail/tail-sidecar