Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TheYkk/logger

Repository files navigation

dockeri.co

TheYkk K8S Logger

This tool runs a pod at every node in K8s via deamonset. The pod connects node's /var/log/containers folder and adds to mongodb by collecting logs

Parse

Supports 25 Parsers

Parse Average log size ~ 700 byte

Parse

Installation

Create mongodb url secret

kubectl create secret generic theykk-logger --from-literal=MONGO_URI=<Mongodb connection url>

Apply rbac and deamonset

kubectl apply -f https://raw.githubusercontent.com/TheYkk/logger/master/rbac.yaml
kubectl apply -f https://raw.githubusercontent.com/TheYkk/logger/master/deamonset.yaml

Buil docker image

DOCKER_BUILDKIT=1 docker build -t theykk/logger .

and push the docker hub

docker push theykk/logger

Author

πŸ‘€ TheYkk <Kaan Karakaya yusufkaan142@gmail.com>

Show your support

Give a ⭐️ if this project helped you!

License

APACHE

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /