All Projects → TheYkk → logger

TheYkk / logger

Licence: Apache-2.0 license
Kubernetes logs to MongoDB

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
shell
77523 projects

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 [email protected]>

Show your support

Give a ⭐️ if this project helped you!

License

APACHE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].