편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
94번째 줄: | 94번째 줄: | ||
===로그 파일 개요=== | ===로그 파일 개요=== | ||
Fluent | When deploying Fluent Bit to Kubernetes, there are three log files that you need to pay attention to. | ||
C:\k\kubelet.err.log | |||
This is the error log file from kubelet daemon running on host. | |||
You will need to retain this file for future troubleshooting (to debug deployment failures etc.) | |||
C:\var\log\containers\<pod>_<namespace>_<container>-<docker>.log | |||
This is the main log file you need to watch. Configure Fluent Bit to follow this file. | |||
It is actually a symlink to the Docker log file in C:\ProgramData\, with some additional metadata on its file name. | |||
C:\ProgramData\Docker\containers\<docker>\<docker>.log | |||
This is the log file produced by Docker. | |||
Normally you don't directly read from this file, but you need to make sure that this file is visible from Fluent Bit. | |||
Typically, your deployment yaml contains the following volume configuration. | |||
<syntaxhighlight lang='ini'> | <syntaxhighlight lang='ini'> |