Fluent Bit 문서/쿠버네티스 편집하기

경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.

편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.

최신판 당신의 편집
94번째 줄: 94번째 줄:


===로그 파일 개요===
===로그 파일 개요===
Fluent Bit를 Kubernetes에 배포할 때, 관심 있게 봐야 할 로그 파일 세 가지가 있습니다.
When deploying Fluent Bit to Kubernetes, there are three log files that you need to pay attention to.


<code>C:\k\kubelet.err.log</code>
C:\k\kubelet.err.log


* 호스트에서 실행되는 kubelet 데몬의 오류 로그 파일입니다.
This is the error log file from kubelet daemon running on host.
* 향후 트러블슈팅(배포 실패 디버깅 등)을 위해 이 파일을 보관할 필요가 있습니다.


<code>C:\var\log\containers\<pod>_<namespace>_<container>-<docker>.log</code>
You will need to retain this file for future troubleshooting (to debug deployment failures etc.)


* 이것은 감시(watch)해야 할 메인 로그 파일입니다. 이 파일을 따르도록 Fluent Bit를 설정합니다.
C:\var\log\containers\<pod>_<namespace>_<container>-<docker>.log
* 이는 파일 이름에 일부 추가 메타데이터가 포함된, <code>C:\ProgramData\</code> 내의 Docker 로그 파일에 대한 심볼릭 링크입니다 .


<code>C:\ProgramData\Docker\containers\<docker>\<docker>.log</code>
This is the main log file you need to watch. Configure Fluent Bit to follow this file.


* Docker에서 생성한 로그 파일입니다.
It is actually a symlink to the Docker log file in C:\ProgramData\, with some additional metadata on its file name.
* 일반적으로 이 파일에서 직접 읽지는 않지만 Fluent Bit에서 이 파일이 표시되는지 확인해야 합니다.


일반적으로 배포 yaml에는 다음 볼륨 구성이 포함됩니다.
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'>

제타위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는 제타위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다. 저작권이 있는 내용을 허가 없이 저장하지 마세요!

취소 편집 도움말 (새 창에서 열림)

이 문서에서 사용한 틀: