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
Supports 25 Parsers
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
DOCKER_BUILDKIT=1 docker build -t theykk/logger .
and push the docker hub
docker push theykk/logger
👤 TheYkk <Kaan Karakaya yusufkaan142@gmail.com>
Give a ⭐️ if this project helped you!